Lucene search

K
vulnrichmentPSFVULNRICHMENT:CVE-2024-0450
HistoryMar 19, 2024 - 3:12 p.m.

CVE-2024-0450 Quoted zip-bomb protection for zipfile

2024-03-1915:12:07
CWE-405
PSF
github.com
6
cpython
zipfile
quoted-overlap
zip-bomb
vulnerability
fix
versions

CVSS3

6.2

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

AI Score

6.8

Confidence

Low

SSVC

Exploitation

poc

Automatable

no

Technical Impact

partial

An issue was found in the CPython zipfile module affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior.

The zipfile module is vulnerable to “quoted-overlap” zip-bombs which exploit the zip format to create a zip-bomb with a high compression ratio. The fixed versions of CPython makes the zipfile module reject zip archives which overlap entries in the archive.

CNA Affected

[
  {
    "repo": "https://github.com/python/cpython",
    "vendor": "Python Software Foundation",
    "product": "CPython",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "3.8.19",
        "versionType": "python"
      },
      {
        "status": "affected",
        "version": "3.9.0",
        "lessThan": "3.9.19",
        "versionType": "python"
      },
      {
        "status": "affected",
        "version": "3.10.0",
        "lessThan": "3.10.14",
        "versionType": "python"
      },
      {
        "status": "affected",
        "version": "3.11.0",
        "lessThan": "3.11.8",
        "versionType": "python"
      },
      {
        "status": "affected",
        "version": "3.12.0",
        "lessThan": "3.12.2",
        "versionType": "python"
      },
      {
        "status": "affected",
        "version": "3.13.0a1",
        "lessThan": "3.13.0a3",
        "versionType": "python"
      }
    ],
    "defaultStatus": "unaffected"
  }
]

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:python:cpython:*:*:*:*:*:*:*:*"
    ],
    "vendor": "python",
    "product": "cpython",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "3.8.18",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "3.9.18"
      },
      {
        "status": "affected",
        "version": "3.10.13"
      },
      {
        "status": "affected",
        "version": "3.11.7"
      },
      {
        "status": "affected",
        "version": "3.12.1"
      }
    ],
    "defaultStatus": "unknown"
  }
]

References

CVSS3

6.2

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

AI Score

6.8

Confidence

Low

SSVC

Exploitation

poc

Automatable

no

Technical Impact

partial