CVE catalog

CVE-2024-4030

python3.11: CVE-2024-4030

[CVE catalog]

Severity
Medium · CVSS 4.4CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.30% · Oct 25, 2026

On Windows a directory returned by tempfile.mkdtemp() would not always have permissions set to restrict reading and writing to the temporary directory by other users, instead usually inheriting the correct permissions from the default location. Alternate configurations or users without a profile directory may not have the intended permissions. If you’re not using Windows or haven’t changed the temporary directory location then you aren’t affected by this vulnerability. On other platforms the returned directory is consistently readable and writable only by the current user. This issue was caused by Python not supporting Unix permissions on Windows. The fix adds support for Unix “700” for the mkdir function on Windows which is used by mkdtemp() to ensure the newly created directory has the proper permissions.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython3.11bookworm3.11.2-6+deb12u8not affected
Debianpython3.11bookworm-security3.11.2-6+deb12u9not affected
Opensusepython38tumbleweed3.8.20-1.1fixed
Opensusepython39tumbleweed3.9.20-1.1fixed
Opensusepython310tumbleweed3.10.15-1.1fixed
Opensusepython311tumbleweed3.11.9-7.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython3.11sourcebookwormNot affectedunimportantNot reportedNot reported
Opensusepython38rpmtumbleweed3.8.20-1.1Not reportedOPENSUSE-SU-2024:14340-1Not reported
Opensusepython39rpmtumbleweed3.9.20-1.1Not reportedOPENSUSE-SU-2024:14331-1Not reported
Opensusepython310rpmtumbleweed3.10.15-1.1Not reportedOPENSUSE-SU-2024:14345-1Not reported
Opensusepython311rpmtumbleweed3.11.9-7.1Not reportedOPENSUSE-SU-2024:14346-1Not reported

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [python310]

    Details (1)
    • 3.10.20-9.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.10.15-1.1

      Version impact unknown

      dsa · python310 · opensuse · tumbleweed

  • [python310-dbm]Unknown

    Source package: [python310]

    Details (1)
    • 3.10.20-9.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.10.15-1.1

      Version impact unknown

      dsa · python310 · opensuse · tumbleweed

  • Source package: [python310]

    Details (1)
    • 3.10.20-9.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.10.15-1.1

      Version impact unknown

      dsa · python310 · opensuse · tumbleweed

  • [python310-tk]Unknown

    Source package: [python310]

    Details (1)
    • 3.10.20-9.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.10.15-1.1

      Version impact unknown

      dsa · python310 · opensuse · tumbleweed

  • Source package: [python311]

    Details (1)
    • 3.11.15-9.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.11.9-7.1

      Version impact unknown

      dsa · python311 · opensuse · tumbleweed

  • Source package: [python311]

    Details (1)
    • 3.11.15-9.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.11.9-7.1

      Version impact unknown

      dsa · python311 · opensuse · tumbleweed

  • [python311-dbm]Unknown

    Source package: [python311]

    Details (1)
    • 3.11.15-9.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.11.9-7.1

      Version impact unknown

      dsa · python311 · opensuse · tumbleweed

  • Source package: [python311]

    Details (1)
    • 3.11.15-9.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.11.9-7.1

      Version impact unknown

      dsa · python311 · opensuse · tumbleweed

  • [python311-tk]Unknown

    Source package: [python311]

    Details (1)
    • 3.11.15-9.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.11.9-7.1

      Version impact unknown

      dsa · python311 · opensuse · tumbleweed

  • Source package: [python311]

    Details (1)
    • 3.11.15-9.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.11.9-7.1

      Version impact unknown

      dsa · python311 · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [idle-python3.11]Not affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · all · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u8 · all · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · all · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · all · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

  • [libpython3.11]Not affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

  • [libpython3.11-dbg]Not affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

  • [libpython3.11-dev]Not affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

  • [libpython3.11-minimal]Not affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

  • [libpython3.11-stdlib]Not affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

  • Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · all · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u8 · all · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · all · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · all · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

  • [python3.11]Not affected
    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

  • [python3.11-dbg]Not affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

  • [python3.11-dev]Not affected

    Source package: [python3.11]

    Details (4)
    • 3.11.2-6+deb12u8 · amd64 · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u8 · arm64 · bookworm

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · amd64 · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

    • 3.11.2-6+deb12u3 · arm64 · bookworm-security

      Not affected

      dsa · python3.11 · debian · bookworm

Next results

Observed:

References