PT-2024-31387 · Amazon · Aws Cloud Development Kit

T0Bst4R

·

Published

2024-08-27

·

Updated

2024-08-28

·

CVE-2024-45037

CVSS v3.1

6.4

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions AWS Cloud Development Kit (CDK) versions 2.142.0 through 2.148.0
Description The issue in AWS Cloud Development Kit (CDK) 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, authenticated Cognito users may gain unintended access to protected API resources or methods, leading to potential data disclosure and modification issues.
Recommendations Upgrade your AWS CDK version to 2.148.1 or newer and re-deploy your application(s) to address this issue. If you are using older CDK versions before 2.142.0, you are not affected by this issue, however it is recommended to upgrade to the latest version to receive the latest features and fixes. Confirm whether your application(s) is affected by searching for "CognitoUserPoolsAuthorizer" in your CDK application. If it is referenced inside the "RestApi" construct, and the "RestApi" resource or method utilize authorization scopes to limit access, and you deployed your applications using the impacted versions of CDK, your application is affected.

Exploit

Fix

Incorrect Authorization

Weakness Enumeration

Related Identifiers

CVE-2024-45037
GHSA-QJ85-69XF-2VXQ

Affected Products

Aws Cloud Development Kit