We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-2598

AWS CDK CLI prints AWS credentials retrieved by custom credential plugins



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.

Reserved 2025-03-21 | Published 2025-03-21 | Updated 2025-03-21 | 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 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

cve.org (CVE-2025-2598)

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

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-2598

Support options

Helpdesk Chat, Email, Knowledgebase