Home

Description

When the AWS Cloud Development Kit (AWS CDK) Command Line Interface (AWS CDK CLI) is used with a credential plugin which returns an expiration property with the retrieved AWS credentials, the credentials are printed to the console output. To mitigate this issue, users should upgrade to version 2.178.2 or later and ensure any forked or derivative code is patched to incorporate the new fixes.

PUBLISHED Reserved 2025-03-21 | Published 2025-03-21 | Updated 2025-10-14 | Assigner AMZN




MEDIUM: 5.7CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

MEDIUM: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere

Product status

Default status
unaffected

2.172.0 (semver) before 2.178.2
affected

References

aws.amazon.com/security/security-bulletins/AWS-2025-005/ vendor-advisory

github.com/...ws-cdk/security/advisories/GHSA-v63m-x9r9-8gqp third-party-advisory

github.com/aws/aws-cdk/releases/tag/v2.178.2 patch

cve.org (CVE-2025-2598)

nvd.nist.gov (CVE-2025-2598)

Download JSON