
CVE catalog
CVE-2021-31800
impacket: CVE-2021-31800
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 19.41% · Oct 25, 2026
Multiple path traversal vulnerabilities exist in smbserver.py in Impacket through 0.9.22. An attacker that connects to a running smbserver instance can list and write to arbitrary files via ../ directory traversal. This could potentially be abused to achieve arbitrary code execution by replacing /etc/shadow or an SSH authorized key.
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 | impacket | sid | 0.13.1-1 | fixed |
| Debian | impacket | forky | 0.13.1-1 | fixed |
| Debian | impacket | trixie | 0.12.0-3 | fixed |
| Debian | impacket | bookworm | 0.10.0-4 | fixed |
| Opensuse | python-impacket | tumbleweed | 0.13.1-1.2 | fixed |
| Opensuse | python-impacket | tumbleweed | 0.11.0-3.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | impacket | source | sid | 0.9.22-2 | not yet assigned | Not reported | [988141] |
| Debian | impacket | source | forky | 0.9.22-2 | not yet assigned | Not reported | [988141] |
| Debian | impacket | source | trixie | 0.9.22-2 | not yet assigned | Not reported | [988141] |
| Debian | impacket | source | bookworm | 0.9.22-2 | not yet assigned | Not reported | [988141] |
| Opensuse | python-impacket | rpm | tumbleweed | 0.13.1-1.2 | Not reported | OPENSUSE-SU-2026:12011-1 | Not reported |
| Opensuse | python-impacket | rpm | tumbleweed | 0.11.0-3.3 | Not reported | OPENSUSE-SU-2024:14142-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [python313-impacket]Unknown
Source package: [python-impacket]
Details (1)
0.13.1-1.2· noarch · tumbleweedUnknown · Fixed:
0.11.0-3.3, 0.13.1-1.2Version impact unknown
dsa · python-impacket · opensuse · tumbleweed
- [python314-impacket]Unknown
Source package: [python-impacket]
Details (1)
0.13.1-1.2· noarch · tumbleweedUnknown · Fixed:
0.11.0-3.3, 0.13.1-1.2Version impact unknown
dsa · python-impacket · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [python3-impacket]Fixed
Source package: [impacket]
Details (2)
0.10.0-4· all · bookwormFixed · Fixed:
0.9.22-2dsa · impacket · debian · bookworm; dsa · impacket · debian · 12
0.10.0-4· all · bookwormFixed · Fixed:
0.9.22-2dsa · impacket · debian · bookworm; dsa · impacket · debian · 12
[Debian 13 (Trixie)]
- [python3-impacket]Fixed
Source package: [impacket]
Details (2)
0.12.0-3· all · trixieFixed · Fixed:
0.9.22-2dsa · impacket · debian · 13
0.12.0-3· all · trixieFixed · Fixed:
0.9.22-2dsa · impacket · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_11232-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-31800]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14142-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:12011-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-31800]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]