Skip to main content
VulnerabilityPublished Updated

CVE-2024-6232: Python2.7 · python vulnerabilities

Affects python2.7Source GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2024-6232· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 2.7.6-8ubuntu0.6+esm24 : patch python2.7 soon.

Data as of 24 Nov 2026, 17:24 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CISA-ADPCVSS 3.17.5
Patch
Available – fixed in 2.7.6-8ubuntu0.6+esm24, 3.4.3-1ubuntu1~14.04.7+esm14, 2.7.12-1ubuntu0~16.04.18+esm15 +8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Sep 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu Pro 22.04 LTSpython2.7pkg:deb/ubuntu/python2.7?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <2.7.18-13ubuntu1.5+esm5
Fixed in
  • 2.7.18-13ubuntu1.5+esm5
Ubuntu Pro 22.04 LTSpython3.11pkg:deb/ubuntu/python3.11?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <3.11.0~rc1-1~22.04.1~esm2
Fixed in
  • 3.11.0~rc1-1~22.04.1~esm2
Ubuntu Pro 20.04 LTSpython2.7pkg:deb/ubuntu/python2.7?arch=source&distro=esm-apps/focalOther threatsAffected
  • <2.7.18-1~20.04.7+esm6
  • =2.7.18~rc1-2
Fixed in
  • 2.7.18-1~20.04.7+esm6
Ubuntu Pro 20.04 LTSpython3.9pkg:deb/ubuntu/python3.9?arch=source&distro=esm-apps/focalOther threatsAffected
  • <3.9.5-3ubuntu0~20.04.1+esm3
Fixed in
  • 3.9.5-3ubuntu0~20.04.1+esm3
Ubuntu Pro 18.04 LTSpython2.7pkg:deb/ubuntu/python2.7?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2.7.17-1~18.04ubuntu1.13+esm10
Fixed in
  • 2.7.17-1~18.04ubuntu1.13+esm10
Ubuntu Pro 18.04 LTSpython3.6pkg:deb/ubuntu/python3.6?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <3.6.9-1~18.04ubuntu1.13+esm3
Fixed in
  • 3.6.9-1~18.04ubuntu1.13+esm3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

It was discovered that Python incorrectly handled parsing bracketed hosts. A remote attacker could possibly use this issue to perform a Server-Side Request Forgery (SSRF) attack. This issue only affected python 2.7 and python3.4 on Ubuntu 14.04 LTS; python2.7 on Ubuntu 16.04 LTS; python2.7, python3.6, python3.7, and python3.8 on Ubuntu 18.04 LTS; python2.7 and python3.9 on Ubuntu 20.04 LTS; and python2.7 and python3.11 on Ubuntu 22.04 LTS. (CVE-2024-11168) It was discovered that Python allowed excessive backtracking while parsing certain tarfile headers. A remote attacker could possibly use this issue to cause Python to consume excessive resources, leading to a denial of service. This issue only affected python3.4 on Ubuntu 14.04 LTS; python3.6, python3.7, and python3.8 on Ubuntu 18.04 LTS; python3.9 on Ubuntu 20.04 LTS; and python3.11 on Ubuntu 22.04 LTS. (CVE-2024-6232) It was discovered that Python incorrectly handled quoted path names when using the venv module. A local attacker able to control virtual environments could possibly use this issue to execute arbitrary code when the virtual environment is activated. This issue only affected python3.4 on Ubuntu 14.04 LTS; python3.6, python3.7, and python3.8 on Ubuntu 18.04 LTS; python3.9 on Ubuntu 20.04 LTS; python3.11 on Ubuntu 22.04 LTS; and python3.13 on Ubuntu 24.10. (CVE-2024-9287)

References

Community reviews

Loading reviews…