Remote Code Execution (RCE) Affecting accesscontrol package, versions [5.0, 5.2) [4.0, 4.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.87% (83rd 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-PYTHON-ACCESSCONTROL-1535295
  • published 1 Aug 2021
  • disclosed 1 Aug 2021
  • credit Unknown

How to fix?

Upgrade AccessControl to version 5.2, 4.3 or higher.

Overview

Affected versions of this package are vulnerable to Remote Code Execution (RCE). The package allows access to Python's string module, which then allows access to the Formatter class that can be overridden in a way that allows access to further unsafe Python libraries.

NOTE: This only applies to Python 3. Furthermore, only websites that allow untrusted users to edit Script (Python) are vulnerable.

CVSS Scores

version 3.1
Expand this section

Snyk

6.6 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

7.2 high