{"cve":"CVE-2024-45037","nvd":{"published":"2024-08-27T19:15:17.583","modified":"2026-06-17T07:53:28.273","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4},"cwes":["CWE-863"],"references":["https://docs.aws.amazon.com/cdk/v2/guide/home.html","https://github.com/aws/aws-cdk/commit/4bee768f07e73ab5fe466f9ad3d1845456a0513b","https://github.com/aws/aws-cdk/releases/tag/v2.148.1","https://github.com/aws/aws-cdk/security/advisories/GHSA-qj85-69xf-2vxq"],"products":["amazon:aws_cloud_development_kit"],"source":"nvd","synced_at":"2026-10-19T21:54:16.205165117+00:00"},"epss":{"cve":"CVE-2024-45037","score":0.00314,"percentile":0.24316,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qj85-69xf-2vxq","url":"https://osv.dev/vulnerability/GHSA-qj85-69xf-2vxq","summary":"AWS CDK RestApi not generating authorizationScope correctly in resultant CFN template","modified":"2024-08-28T20:06:12Z","packages":[{"ecosystem":"npm","name":"aws-cdk","purl":"pkg:npm/aws-cdk","ranges":[">=2.142.0 <2.148.1"],"fixed":["2.148.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}