{"schemaVersion":3,"id":"CVE-2024-45037","aliases":["GHSA-qj85-69xf-2vxq"],"status":"published","duplicateOf":null,"title":null,"description":"The AWS Cloud Development Kit (CDK) is an open-source framework for defining cloud infrastructure using code. Customers use it to create their own applications which are converted to AWS CloudFormation templates during deployment to a customer’s AWS account. CDK contains pre-built components called \"constructs\" that are higher-level abstractions providing defaults and best practices. This approach enables developers to use familiar programming languages to define complex cloud infrastructure more efficiently than writing raw CloudFormation templates. We identified an issue in AWS Cloud Development Kit (CDK) which, under certain conditions, can result in granting authenticated Amazon Cognito users broader than intended access. Specifically, if a CDK application uses the \"RestApi\" construct with \"CognitoUserPoolAuthorizer\" as the authorizer and uses authorization scopes to limit access. This issue does not affect the availability of the specific API resources. Authenticated Cognito users may gain unintended access to protected API resources or methods, leading to potential data disclosure, and modification issues.  Impacted versions: >=2.142.0;<=2.148.0. A patch is included in CDK versions >=2.148.1. Users are advised to upgrade their AWS CDK version to 2.148.1 or newer and re-deploy their application(s) to address this issue.","dates":{"published":"2024-08-27T18:33:31.486Z","modified":"2024-08-27T19:26:14.828Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":5.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","exploitability":7.9,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00314,"percentile":0.22821,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00314},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00314,"percentile":0.22821}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00314,"percentile":0.22821}]},"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-863","name":"Incorrect Authorization","description":"The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/863.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.142.0, < 2.148.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.142.0, < 2.148.1","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.142.0, < 2.148.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.142.0, < 2.148.1","eol":null,"hubHref":"/vendor/aws/aws-cdk"},{"vendor":"Npm","product":"aws-cdk","name":"aws-cdk","label":"aws-cdk","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/aws-cdk","purlType":"npm","versions":[{"text":"≥ 2.142.0, < 2.148.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.142.0, < 2.148.1","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/aws/aws-cdk/security/advisories/GHSA-qj85-69xf-2vxq","label":"github.com/aws/aws-cdk/security/advisories/GHSA-qj85-69xf-2vxq","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Vendor Advisory"]},{"url":"https://github.com/aws/aws-cdk/commit/4bee768f07e73ab5fe466f9ad3d1845456a0513b","label":"github.com/aws/aws-cdk/commit/4bee768f07e73ab5fe466f9ad3d1845456a0513b","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://docs.aws.amazon.com/cdk/v2/guide/home.html","label":"docs.aws.amazon.com/cdk/v2/guide/home.html","hostname":"docs.aws.amazon.com","tags":["X Refsource MISC","WEB","Product"]},{"url":"https://github.com/aws/aws-cdk/releases/tag/v2.148.1","label":"github.com/aws/aws-cdk/releases/tag/v2.148.1","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45037","label":"nvd.nist.gov/vuln/detail/CVE-2024-45037","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":"2024-08-27T18:33:31.486Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-27T19:26:14.828Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:10:27.797Z","stale":false,"partial":false}}