MEDIUM · CVSS 5.5 Published: 2025-03-21
CVE-2025-2598 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-2598 |
|---|---|
| Base Severity / Score | MEDIUM (5.5 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Weakness Classification | CWE-497 |
| Archive Categories | MEDIUM Advisories · 2025 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://aws.amazon.com/security/security-bulletins/AWS-2025-005/
- https://github.com/aws/aws-cdk/releases/tag/v2.178.2
- https://github.com/aws/aws-cdk/security/advisories/GHSA-v63m-x9r9-8gqp
Related Security Advisories
CVE-2025-25977 CRITICAL 9.8
CVE-2025-25983 LOW 3.4
CVE-2025-25973 MEDIUM 6.5
CVE-2025-25984 MEDIUM 6.8
CVE-2025-25988 MEDIUM 4.8
CVE-2025-25990 MEDIUM 6.1
CVE-2025-25991 MEDIUM 5.1
CVE-2025-25992 MEDIUM 5.1