Security mailing lists by PureSourceCode

CVE-2025-2598

MEDIUM 5.7CVSS 4.0

AWS CDK CLI prints AWS credentials retrieved by custom credential plugins

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
21 Mar 2025
Last modified
17 Jun 2026
Assigned by
ff89ba41-3aa1-4d27-914a-91399e9639e5
NVD status
Modified
Weakness
CWE-497
Also known as
GHSA-v63m-x9r9-8gqp
Sources
NVDJSONOSV GHSA-v63m-x9r9-8gqpJSON

Scores

SourceScored byVersionScoreVector / decision
NVD ff89ba41-3aa1-4d27-914a-91399e9639e5 (Secondary) CVSS 4.0 MEDIUM 5.7 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD ff89ba41-3aa1-4d27-914a-91399e9639e5 (Secondary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD amazon aws_cloud_development_kit
cpe:2.3:a:amazon:aws_cloud_development_kit:*:*:*:*:*:*:*:*
>= 2.172.0, < 2.178.2 2.178.2
OSV npm aws-cdk >= 2.172.0, < 2.178.2 2.178.2
OSV npm cdk >= 2.172.0, < 2.178.2 2.178.2

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 21 Mar 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.