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. Learn more

Threat Intelligence

EPSS
1.23% (86th 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 Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-ACCESSCONTROL-1535295
  • published1 Aug 2021
  • disclosed1 Aug 2021
  • creditUnknown

Introduced: 1 Aug 2021

CVE-2021-32807  (opens in a new tab)
CWE-94  (opens in a new tab)

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