In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Incorrect Calculation vulnerabilities in an interactive lesson.
Start learningUpgrade aws-cdk-lib to version 2.253.0 or higher.
aws-cdk-lib is a Version 2 of the AWS Cloud Development Kit library
Affected versions of this package are vulnerable to Incorrect Calculation due to the incorrect mapping of the S3LoggingOptions.encrypted property to the CloudFormation S3LogsConfig.EncryptionDisabled field. An attacker can cause build logs to be stored unencrypted by explicitly setting the encrypted property to true, which unintentionally disables encryption.
This vulnerability can be mitigated by omitting the encrypted property from the S3LoggingOptions configuration, allowing the default encryption behavior to apply.