CVE-2025-2598CWE-497

AWS CDK CLI prints AWS credentials retrieved by custom credential plugins

Medium · published March 21, 2025

CVSS v4.0
5.7
EPSS
0%
Percentile
22.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.7 · MEDIUM
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
EPSS
0.00310 · 22.6th percentile
Weakness
CWE-497 · Exposure of Sensitive System Information to an Unauthorized Control Sphere
Published
2025-03-21T14:14Z
EPSS history
Timeline
  • 21 MAR 14:14Z
    AWS CDK CLI prints AWS credentials retrieved by custom credential plugins
    cvelistv5