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.

Published: 2024-08-27 Last update: 2025-09-22 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-45037 is rated Low Risk (33.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.31%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-45037

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.53% 0.31% -0.22%
2 2026-03-01 0.41% 0.53% +0.13%
3 2026-01-16 0.41%

Full EPSS history (10 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-45037

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.4 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
3.1 2.7 [email protected]

Weakness enumeration for CVE-2024-45037

GitHub Security Advisory for CVE-2024-45037

GHSA-qj85-69xf-2vxq · Severity: medium · Ecosystem: npm — AWS CDK RestApi not generating authorizationScope correctly in resultant CFN template

Affected software / configurations for CVE-2024-45037

Vendor Product Version Raw CPE
amazon aws_cloud_development_kit >= 2.142.0, < 2.148.1 cpe:2.3:a:amazon:aws_cloud_development_kit:*:*:*:*:*:*:*:*

References for CVE-2024-45037

cvelogic Threat Intelligence