{"schemaVersion":4,"id":"CVE-2025-23206","aliases":["GHSA-v4mq-x674-ff73"],"status":"published","duplicateOf":null,"title":"IAM OIDC custom resource allows connection to unauthorized OIDC provider in aws-cdk","description":"The AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define cloud infrastructure in code and provision it through AWS CloudFormation. Users who use IAM OIDC custom resource provider package will download CA Thumbprints as part of the custom resource workflow. However, the current `tls.connect` method will always set `rejectUnauthorized: false` which is a potential security concern. CDK should follow the best practice and set `rejectUnauthorized: true`. However, this could be a breaking change for existing CDK applications and we should fix this with a feature flag. Note that this is marked as low severity Security advisory because the issuer url is provided by CDK users who define the CDK application. If they insist on connecting to a unauthorized OIDC provider, CDK should not disallow this. Additionally, the code block is run in a Lambda environment which mitigate the MITM attack. The patch is in progress. To mitigate, upgrade to CDK v2.177.0 (Expected release date 2025-02-22). Once upgraded, users should make sure the feature flag '@aws-cdk/aws-iam:oidcRejectUnauthorizedConnections' is set to true in `cdk.context.json` or `cdk.json`. There are no known workarounds for this vulnerability.","dates":{"published":"2025-01-17T20:34:50.851Z","modified":"2026-01-23T15:12:34.946Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":1.8,"severity":"low","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":1.8,"severity":"low","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":1.8,"severity":"low","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00329,"percentile":0.28008,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":-0.0020000000000000052,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00331},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00537,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00537,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00537,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00537,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00537,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00537,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00329,"percentile":0.28008}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00331,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00537,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00537,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00537,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00537,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00537,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00537,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00329,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00329,"percentile":0.28008}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature","description":"The product does not verify, or incorrectly verifies, the cryptographic signature for data.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/347.html"}],"affected":[{"vendor":"amazon","product":"aws_cloud_development_kit","name":"aws cloud development kit","label":"aws_cloud_development_kit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.177.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.177.0","endInclusive":false}}],"versionsText":"< 2.177.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"amazon-cdk","label":"Amazon CDK","category":"framework"}},"hubHref":"/vendor/amazon/aws_cloud_development_kit"},{"vendor":"aws","product":"aws-cdk","name":"aws-cdk","label":"aws-cdk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.177.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.177.0","endInclusive":false}}],"versionsText":"< 2.177.0","eol":null,"hubHref":"/vendor/aws/aws-cdk"},{"vendor":"Npm","product":"aws-cdk-lib","name":"aws-cdk-lib","label":"aws-cdk-lib","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/aws-cdk-lib","purlType":"npm","versions":[{"text":"< 2.177.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.177.0","endInclusive":false}}],"versionsText":"< 2.177.0","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/aws/aws-cdk/security/advisories/GHSA-v4mq-x674-ff73","label":"github.com/aws/aws-cdk/security/advisories/GHSA-v4mq-x674-ff73","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Vendor Advisory"]},{"url":"https://github.com/aws/aws-cdk/issues/32920","label":"github.com/aws/aws-cdk/issues/32920","hostname":"github.com","tags":["X Refsource MISC","WEB","Issue Tracking"]},{"url":"https://github.com/aws/aws-cdk/pull/32921","label":"github.com/aws/aws-cdk/pull/32921","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/aws/aws-cdk/commit/3e4f3773bfa48b75bf0adc7d53d46bbec7714a9e#diff-38a03353f201fd2e520df67fb43f9f000257bffd6e9acaa5569cce7005a77560","label":"github.com/aws/aws-cdk/commit/3e4f3773bfa48b75bf0adc7d53d46bbec7714a9e","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://docs.aws.amazon.com/cdk/v2/guide/featureflags.html","label":"docs.aws.amazon.com/cdk/v2/guide/featureflags.html","hostname":"docs.aws.amazon.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/aws/aws-cdk/blob/d16482fc8a4a3e1f62751f481b770c09034df7d2/packages/%40aws-cdk/custom-resource-handlers/lib/aws-iam/oidc-handler/external.ts#L34","label":"github.com/aws/…","hostname":"github.com","tags":["X Refsource MISC","WEB","Product"]},{"url":"https://github.com/aws/aws-cdk/releases/tag/v2.177.0","label":"github.com/aws/aws-cdk/releases/tag/v2.177.0","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23206","label":"nvd.nist.gov/vuln/detail/CVE-2025-23206","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/aws/aws-cdk","label":"github.com/aws/aws-cdk","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-01-17T20:34:50.851Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-01-23T15:12:34.946Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 1.8, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,18],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00329,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-01-23T15:12:34.946Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":1.8,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0","headline":true},{"type":"cvss","source":"osv_npm","date":"2026-01-23T15:12:34.946Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":1.8,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-01-23T15:12:34.946Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":1.8,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:L/VI:L/VA:L/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","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-01-23T15:12:34.946Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-01-17T20:59:53.170Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00329,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:35:22.026Z","stale":false,"partial":false}}