Inefficient Regular Expression Complexity Affecting python3.5 package, versions <3.5.2-2ubuntu0~16.04.13+esm14


Severity

Recommended
low

Based on Ubuntu security rating

    Threat Intelligence

    EPSS
    0.11% (45th 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-UBUNTU1604-PYTHON35-7830368
  • published 14 Sep 2024
  • disclosed 19 Aug 2024

How to fix?

Upgrade Ubuntu:16.04 python3.5 to version 3.5.2-2ubuntu0~16.04.13+esm14 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.5 package and not the python3.5 package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

There is a LOW severity vulnerability affecting CPython, specifically the 'http.cookies' standard library module.

When parsing cookies that contained backslashes for quoted characters in the cookie value, the parser would use an algorithm with quadratic complexity, resulting in excess CPU resources being used while parsing the value.

CVSS Scores

version 3.1
Expand this section

NVD

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

SUSE

2.6 low
Expand this section

Red Hat

4.8 medium