AWS Lambda's support for Node.js and Node.js end of life do not coincide, instead AWS Lambda continues to support the runtime for a few months after the official end of life for a specific Node.js version. AWS says that they stop providing security patches after their deprecation, which to me implies that they will provide patches before then. Since there is a stretch of time between Node.js and of life and AWS Lambda runtime for Node.js, how is it that AWS is able to provide security patches to Node.js?
A concrete example to look towards is Node.js 18. The official end of life for this version is April 30 2025. AWS Lambda runtime lists the deprecation date of July 31 2025.