More Info:

You should always use the latest version of the execution environment for your Amazon Lambda functions in order to adhere to AWS best practices and receive the newest software features, get the latest security patches and bug fixes, and benefit from better performance and reliability.

Risk Level

Low

Address

Security, Reliability

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate this misconfiguration in AWS, you can follow the below steps:

  1. Open the AWS Management Console and navigate to the AWS Lambda service.
  2. Select the Lambda function that you want to update.
  3. Click on the “Configuration” tab.
  4. Under the “General configuration” section, you will see the “Runtime” option. Click on the “Edit” button next to it.
  5. Select the latest version of the runtime from the drop-down list.
  6. Click on the “Save” button to apply the changes.

After following these steps, your Lambda function will be updated with the latest runtime version. It is recommended to regularly check for updates and keep your Lambda functions up-to-date to ensure optimal performance and security.

Additional Reading: