Advisories
For your digest

aws-cdk-lib, Amazon.CDK.Lib: AWS CDK CodeBuild S3 Log Encryption Boolean Inversion

It touches something Phylax follows. No evidence of use yet.

Does it affect what I run?

Checked in your browser. The version you type is not sent anywhere.

Who is affected

  • aws-cdk-lib (npm): every version, before 2.253.0
  • Amazon.CDK.Lib (NuGet): every version, before 2.253.0
  • software.amazon.awscdk:aws-cdk-lib (Maven): every version, before 2.253.0
  • github.com/aws/aws-cdk-go/awscdk/v2 (Go): every version, before 2.253.0
  • @aws-cdk/aws-codebuild (npm): from 1.75.0, up to and including 1.204.0
  • Amazon.CDK.AWS.CodeBuild (NuGet): from 1.75.0, up to and including 1.204.0
  • software.amazon.awscdk:codebuild (Maven): from 1.75.0, up to and including 1.204.0
  • github.com/aws/aws-cdk-go/awscdk (Go): from 1.175.0-devpreview, up to and including 1.204.0-devpreview
  • aws-cdk-lib (PyPI): every version, before 2.253.0
  • aws-cdk-aws-codebuild (PyPI): from 1.75.0, up to and including 1.204.0
  • github.com/aws/aws-cdk-go/awscdk (Go): from 1.175.0-devpreview, with no fixed release listed
  • github.com/aws/aws-cdk-go/awscdk/v2 (Go): every version, before 2.253.0

The fix

  • aws-cdk-lib (npm) fixed in 2.253.0

    npm
    npm install aws-cdk-lib@2.253.0
    pnpm
    pnpm add aws-cdk-lib@2.253.0
    yarn
    yarn add aws-cdk-lib@2.253.0
    bun
    bun add aws-cdk-lib@2.253.0
    Check what is installed
    npm ls aws-cdk-lib
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency aws-cdk-lib to 2.253.0 or the nearest later release, to fix GHSA-464c-974j-9xm6. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • Amazon.CDK.Lib (NuGet) fixed in 2.253.0

    dotnet
    dotnet add package Amazon.CDK.Lib --version 2.253.0
    Check what is installed
    dotnet list package
    Paste into Cursor, Lovable or Claude Code
    Upgrade the NuGet dependency Amazon.CDK.Lib to 2.253.0 or the nearest later release, to fix GHSA-464c-974j-9xm6. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • software.amazon.awscdk:aws-cdk-lib (Maven) fixed in 2.253.0

    maven
    mvn versions:use-dep-version -Dincludes=software.amazon.awscdk:aws-cdk-lib -DdepVersion=2.253.0 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=software.amazon.awscdk:aws-cdk-lib
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency software.amazon.awscdk:aws-cdk-lib to 2.253.0 or the nearest later release, to fix GHSA-464c-974j-9xm6. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • github.com/aws/aws-cdk-go/awscdk/v2 (Go) fixed in 2.253.0

    go
    go get github.com/aws/aws-cdk-go/awscdk/v2@v2.253.0
    Check what is installed
    go list -m github.com/aws/aws-cdk-go/awscdk/v2
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Go dependency github.com/aws/aws-cdk-go/awscdk/v2 to 2.253.0 or the nearest later release, to fix GHSA-464c-974j-9xm6. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • aws-cdk-lib (PyPI) fixed in 2.253.0

    pip
    python -m pip install aws-cdk-lib==2.253.0
    uv
    uv add aws-cdk-lib==2.253.0
    poetry
    poetry add aws-cdk-lib@2.253.0
    Check what is installed
    python -m pip show aws-cdk-lib
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency aws-cdk-lib to 2.253.0 or the nearest later release, to fix GHSA-464c-974j-9xm6. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.

Fix commands generated from the advisory's versions. No model wrote them.

In plain words

Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.

Evidence

No evidence that it is being used, or can be. It is listed because of what it affects.

Timeline

  1. First published here, as "For your digest".