Home / aws / aws-cdk / CVE-2024-45037
CVE-2024-45037: is it exploited, and which versions of aws-cdk are affected and fixed?
CVE-2024-45037 is an incorrect authorization vulnerability in aws-cdk. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: aws-cdk from 2.142.0 before 2.148.1 (GitHub advisory GHSA-qj85-69xf-2vxq). Fixed in 2.148.1 (GitHub advisory GHSA-qj85-69xf-2vxq). Severity: Medium (6.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:27 UTC.
What is CVE-2024-45037?
AWS CDK RestApi not generating authorizationScope correctly in resultant CFN template
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.
From the CVE record by GitHub_M, last updated August 27, 2024, 19:26 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| aws | aws-cdk | >= 2.142.0, < 2.148.1 |
As the CVE record by GitHub_M states it, last updated August 27, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | aws-cdk | >= 2.142.0, < 2.148.1 | 2.148.1 | GHSA-qj85-69xf-2vxq |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 28, 2024. Summary: AWS CDK RestApi not generating authorizationScope correctly in resultant CFN template.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| amazon | aws cloud development kit | from 2.142.0 before 2.148.1 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:53 UTC.
How severe is CVE-2024-45037?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-45037 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, August 27, 2024)
- EPSS
- 0.31% probability of exploitation activity in the next 30 days, percentile 26.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-863 Incorrect Authorization
Where are the vendor advisories and references?
- https://github.com/aws/aws-cdk/security/advisories/GHSA-qj85-69xf-2vxq x_refsource_CONFIRM
- https://github.com/aws/aws-cdk/commit/4bee768f07e73ab5fe466f9ad3d1845456a0513b x_refsource_MISC
- https://docs.aws.amazon.com/cdk/v2/guide/home.html x_refsource_MISC
- https://github.com/aws/aws-cdk/releases/tag/v2.148.1 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 21, 2024
- Published
- August 27, 2024, 18:33 UTC
- CVE record updated
- August 27, 2024, 19:26 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 07:53 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:27 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect aws-cdk?
- Jul 1, 2026CVE-2026-13760 AWS CDK: OS command injection
- Jan 17, 2025CVE-2025-23206 aws-cdk: cryptographic signature not verified
- Jun 23, 2023CVE-2023-35165 aws-cdk: incorrect authorization
Questions about CVE-2024-45037
Is CVE-2024-45037 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.31% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of aws-cdk are affected by CVE-2024-45037?
aws-cdk from 2.142.0 before 2.148.1, per the GitHub advisory GHSA-qj85-69xf-2vxq. The tables above give every range the sources list.
Which version fixes CVE-2024-45037?
2.148.1, per the GitHub advisory GHSA-qj85-69xf-2vxq. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-45037?
Medium (6.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-45037?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.