CVE-2025-23206:
AWS Cloud Development Kit (AWS CDK) IAM OIDC custom resource allows connection to unauthorized OIDC provider
N/A
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.11601%
CWE
Published
1/17/2025
Updated
1/29/2025
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
-
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
aws-cdk-lib | npm | < 2.177.0 | 2.177.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the tls.connect
call in the OIDC handler's certificate thumbprint retrieval process. The code explicitly sets rejectUnauthorized: false
in the TLS connection options (visible in the provided code snippet from external.ts
line 34), which disables certificate chain validation. This matches CWE-347 (Improper Verification of Cryptographic Signature) and the advisory's description. The commit diff references a security fix in this handler, and the patch adds a feature flag to control this parameter. The function
is directly tied to the vulnerability's root cause described in all provided sources.