Skip to main content

Exposure of Sensitive System Information to an Unauthorized Control Sphere

CVE-2025-2598

Severity Medium
Score 5.7/10

Summary

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. This issue affects aws-cdk package versions 2.172.0 through 2.178.1. 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.

  • LOW
  • LOCAL
  • NONE
  • UNCHANGED
  • NONE
  • LOW
  • HIGH
  • NONE

CWE-497 - Exposure of Sensitive System Information to an Unauthorized Control Sphere

The application does not properly prevent sensitive system-level information from being accessed by unauthorized actors who do not have the same level of access to the underlying system as the application does.

Advisory Timeline

  • Published