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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 19 Sep 2025 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Amazon
Amazon aws Cloud Development Kit
CPEs cpe:2.3:a:amazon:aws_cloud_development_kit:*:*:*:*:*:*:*:*
Vendors & Products Amazon
Amazon aws Cloud Development Kit

Fri, 21 Mar 2025 16:45:00 +0000


Fri, 21 Mar 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 21 Mar 2025 14:30:00 +0000

Type Values Removed Values Added
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.
Title AWS CDK CLI prints AWS credentials retrieved by custom credential plugins
Weaknesses CWE-497
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 5.7, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: AMZN

Published:

Updated: 2025-03-21T16:27:39.401Z

Reserved: 2025-03-21T11:48:52.961Z

Link: CVE-2025-2598

cve-icon Vulnrichment

Updated: 2025-03-21T15:20:52.582Z

cve-icon NVD

Status : Analyzed

Published: 2025-03-21T15:15:43.120

Modified: 2025-09-19T15:00:55.707

Link: CVE-2025-2598

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.