
CVE catalog
CVE-2024-4030
python3.11: CVE-2024-4030
- Severity
- Medium · CVSS 4.4
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python3.11 | bookworm | 3.11.2-6+deb12u8 | not affected |
| Debian | python3.11 | bookworm-security | 3.11.2-6+deb12u9 | not affected |
| Opensuse | python38 | tumbleweed | 3.8.20-1.1 | fixed |
| Opensuse | python39 | tumbleweed | 3.9.20-1.1 | fixed |
| Opensuse | python310 | tumbleweed | 3.10.15-1.1 | fixed |
| Opensuse | python311 | tumbleweed | 3.11.9-7.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python3.11 | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Opensuse | python38 | rpm | tumbleweed | 3.8.20-1.1 | Not reported | OPENSUSE-SU-2024:14340-1 | Not reported |
| Opensuse | python39 | rpm | tumbleweed | 3.9.20-1.1 | Not reported | OPENSUSE-SU-2024:14331-1 | Not reported |
| Opensuse | python310 | rpm | tumbleweed | 3.10.15-1.1 | Not reported | OPENSUSE-SU-2024:14345-1 | Not reported |
| Opensuse | python311 | rpm | tumbleweed | 3.11.9-7.1 | Not reported | OPENSUSE-SU-2024:14346-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [python310-curses]Unknown
Source package: [python310]
Details (1)
3.10.20-9.1· x86_64 · tumbleweedUnknown · Fixed:
3.10.15-1.1Version impact unknown
dsa · python310 · opensuse · tumbleweed
- [python310-dbm]Unknown
Source package: [python310]
Details (1)
3.10.20-9.1· x86_64 · tumbleweedUnknown · Fixed:
3.10.15-1.1Version impact unknown
dsa · python310 · opensuse · tumbleweed
- [python310-idle]Unknown
Source package: [python310]
Details (1)
3.10.20-9.1· x86_64 · tumbleweedUnknown · Fixed:
3.10.15-1.1Version impact unknown
dsa · python310 · opensuse · tumbleweed
- [python310-tk]Unknown
Source package: [python310]
Details (1)
3.10.20-9.1· x86_64 · tumbleweedUnknown · Fixed:
3.10.15-1.1Version impact unknown
dsa · python310 · opensuse · tumbleweed
- [python311-32bit]Unknown
Source package: [python311]
Details (1)
3.11.15-9.1· x86_64 · tumbleweedUnknown · Fixed:
3.11.9-7.1Version impact unknown
dsa · python311 · opensuse · tumbleweed
- [python311-curses]Unknown
Source package: [python311]
Details (1)
3.11.15-9.1· x86_64 · tumbleweedUnknown · Fixed:
3.11.9-7.1Version impact unknown
dsa · python311 · opensuse · tumbleweed
- [python311-dbm]Unknown
Source package: [python311]
Details (1)
3.11.15-9.1· x86_64 · tumbleweedUnknown · Fixed:
3.11.9-7.1Version impact unknown
dsa · python311 · opensuse · tumbleweed
- [python311-idle]Unknown
Source package: [python311]
Details (1)
3.11.15-9.1· x86_64 · tumbleweedUnknown · Fixed:
3.11.9-7.1Version impact unknown
dsa · python311 · opensuse · tumbleweed
- [python311-tk]Unknown
Source package: [python311]
Details (1)
3.11.15-9.1· x86_64 · tumbleweedUnknown · Fixed:
3.11.9-7.1Version impact unknown
dsa · python311 · opensuse · tumbleweed
- [python311-x86-64-v3]Unknown
Source package: [python311]
Details (1)
3.11.15-9.1· x86_64 · tumbleweedUnknown · Fixed:
3.11.9-7.1Version 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 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u8· all · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· all · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· all · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
- [libpython3.11]Not affected
Source package: [python3.11]
Details (4)
3.11.2-6+deb12u8· amd64 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u8· arm64 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· amd64 · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· arm64 · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
- [libpython3.11-dbg]Not affected
Source package: [python3.11]
Details (4)
3.11.2-6+deb12u8· amd64 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u8· arm64 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· amd64 · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· arm64 · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
- [libpython3.11-dev]Not affected
Source package: [python3.11]
Details (4)
3.11.2-6+deb12u8· amd64 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u8· arm64 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· amd64 · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· arm64 · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
- [libpython3.11-minimal]Not affected
Source package: [python3.11]
Details (4)
3.11.2-6+deb12u8· amd64 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u8· arm64 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· amd64 · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· arm64 · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
- [libpython3.11-stdlib]Not affected
Source package: [python3.11]
Details (4)
3.11.2-6+deb12u8· amd64 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u8· arm64 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· amd64 · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· arm64 · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
- [libpython3.11-testsuite]Not affected
Source package: [python3.11]
Details (4)
3.11.2-6+deb12u8· all · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u8· all · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· all · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· all · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
- [python3.11]Not affected
Details (4)
3.11.2-6+deb12u8· amd64 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u8· arm64 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· amd64 · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· arm64 · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
- [python3.11-dbg]Not affected
Source package: [python3.11]
Details (4)
3.11.2-6+deb12u8· amd64 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u8· arm64 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· amd64 · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· arm64 · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
- [python3.11-dev]Not affected
Source package: [python3.11]
Details (4)
3.11.2-6+deb12u8· amd64 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u8· arm64 · bookwormNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· amd64 · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
3.11.2-6+deb12u3· arm64 · bookworm-securityNot affected
dsa · python3.11 · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2024_2572-1.json]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14331-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14340-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14345-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14346-1]
- [https://security-tracker.debian.org/tracker/CVE-2024-4030]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-2448.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]