Integer Overflow or Wraparound Affecting py3-cryptography package, versions <3.2.2-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.54% (78th 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 IDSNYK-ALPINE319-PY3CRYPTOGRAPHY-6110967
  • published8 Dec 2023
  • disclosed7 Feb 2021

Introduced: 7 Feb 2021

CVE-2020-36242  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Alpine:3.19 py3-cryptography to version 3.2.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3-cryptography package and not the py3-cryptography package as distributed by Alpine. See How to fix? for Alpine:3.19 relevant fixed versions and status.

In the cryptography package before 3.3.2 for Python, certain sequences of update calls to symmetrically encrypt multi-GB values could result in an integer overflow and buffer overflow, as demonstrated by the Fernet class.

CVSS Scores

version 3.1