More Info:

You should not use the deprecated versions of the execution environment for your Amazon Lambda functions in order to adhere to AWS best practices.

Risk Level

Low

Address

Security, Reliability

Compliance Standards

AWSWAF

Triage and Remediation

Remediation

To remediate the misconfiguration of Lambda Functions using deprecated versions in AWS, follow these steps:

  1. Login to the AWS Management Console.
  2. Go to the AWS Lambda service.
  3. Select the Lambda function that is using a deprecated version.
  4. Click on the “Configuration” tab.
  5. In the “Runtime settings” section, select the latest version of the runtime that is available. For example, if the function is using Node.js 8.10, select Node.js 14.x.
  6. Click on the “Save” button to save the changes.
  7. Test the function to ensure that it is working properly with the updated runtime version.

By following these steps, you have successfully remediated the misconfiguration of Lambda Functions using deprecated versions in AWS.

Additional Reading: