Incorrect Authorization Affecting aws-cdk package, versions >=2.142.0 <2.148.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-AWSCDK-7840414
  • published28 Aug 2024
  • disclosed27 Aug 2024
  • creditTobias Glatthar

Introduced: 27 Aug 2024

CVE-2024-45037  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade aws-cdk to version 2.148.1 or higher.

Overview

aws-cdk is a CDK Toolkit, the command line tool for CDK apps

Affected versions of this package are vulnerable to Incorrect Authorization due to the RestApi construct using CognitoUserPoolAuthorizer as the authorizer. An attacker can gain unintended access to protected API resources or methods by exploiting incorrect authorization scope settings.

Note: This issue does not affect the availability of the specific API resources.

References

CVSS Scores

version 4.0
version 3.1