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

    Threat Intelligence

    EPSS
    0.05% (17th 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 ID SNYK-JS-AWSCDK-7840414
  • published 28 Aug 2024
  • disclosed 27 Aug 2024
  • credit Tobias Glatthar

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
Expand this section

Snyk

Recommended
5.1 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    Low
  • Availability (VA)
    None
  • Confidentiality (SC)
    High
  • Integrity (SI)
    Low
  • Availability (SA)
    None