CVE-2021-31800
CVE-2021-31800
CVSS 9.8 · Critical · EPSS 19.4% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- py3-impacket Alpine 3.14Update to 0.9.23-r0
- py3-impacket Alpine 3.15Update to 0.9.23-r0
- py3-impacket Alpine 3.16Update to 0.9.23-r0
- py3-impacket Alpine 3.17Update to 0.9.23-r0
- and 18 more
Check the installed version:
apk list -I -o py3-impacketAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
This page shows selected source facts. See the linked advisories for the complete description and affected versions.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:12011-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:14142-1 · openSUSE Tumbleweed ·
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
py3-impacket Alpine 3.14
- Affected ranges
- ECOSYSTEM: < 0.9.23-r0
Update to 0.9.23-r0
py3-impacket Alpine 3.15
- Affected ranges
- ECOSYSTEM: < 0.9.23-r0
Update to 0.9.23-r0
py3-impacket Alpine 3.16
- Affected ranges
- ECOSYSTEM: < 0.9.23-r0
Update to 0.9.23-r0
py3-impacket Alpine 3.17
- Affected ranges
- ECOSYSTEM: < 0.9.23-r0
Update to 0.9.23-r0
py3-impacket Alpine 3.18
- Affected ranges
- ECOSYSTEM: < 0.9.23-r0
Update to 0.9.23-r0
py3-impacket Alpine 3.19
- Affected ranges
- ECOSYSTEM: < 0.9.23-r0
Update to 0.9.23-r0
py3-impacket Alpine 3.20
- Affected ranges
- ECOSYSTEM: < 0.9.23-r0
Update to 0.9.23-r0
py3-impacket Alpine 3.21
- Affected ranges
- ECOSYSTEM: < 0.9.23-r0
Update to 0.9.23-r0
py3-impacket Alpine 3.22
- Affected ranges
- ECOSYSTEM: < 0.9.23-r0
Update to 0.9.23-r0
py3-impacket Alpine 3.23
- Affected ranges
- ECOSYSTEM: < 0.9.23-r0
Update to 0.9.23-r0
py3-impacket Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 0.9.23-r0
Update to 0.9.23-r0
impacket Debian 12
- Affected ranges
- ECOSYSTEM: < 0.9.22-2
Update to 0.9.22-2
impacket Debian 13
- Affected ranges
- ECOSYSTEM: < 0.9.22-2
Update to 0.9.22-2
impacket Debian 14
- Affected ranges
- ECOSYSTEM: < 0.9.22-2
Update to 0.9.22-2
impacket PyPI
- Versions
- 0.9.10
- 0.9.11
- 0.9.12
- 0.9.13
- 0.9.14
- 0.9.15
All versions (12)
- 0.9.17
- 0.9.18
- 0.9.19
- 0.9.20
- 0.9.21
- 0.9.22
- Affected ranges
- ECOSYSTEM: < 0.9.23
Update to 0.9.23
impacket PyPI
- Versions
- 0.9.10
- 0.9.11
- 0.9.12
- 0.9.13
- 0.9.14
- 0.9.15
All versions (12)
- 0.9.17
- 0.9.18
- 0.9.19
- 0.9.20
- 0.9.21
- 0.9.22
- Affected ranges
- GIT: < 49c643bf66620646884ed141c94e5fdd85bcdd2f
- ECOSYSTEM: ≥ 0.9.10, < 0.9.23
Update to 0.9.23
impacket Ubuntu 16.04 LTS
- Versions
- 0.9.12-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
impacket Ubuntu 18.04 LTS
- Versions
- 0.9.15-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
impacket Ubuntu 20.04 LTS
- Versions
- 0.9.15-5
- 0.9.20-4
- 0.9.20-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
impacket Ubuntu 22.04 LTS
- Versions
- 0.9.22-2
- 0.9.24-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
impacket Ubuntu 24.04 LTS
- Versions
- 0.11.0-1
- 0.11.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
impacket Ubuntu 25.10
- Versions
- 0.12.0-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
impacket Ubuntu 26.10
- Versions
- 0.13.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/SecureAuthCorp/impacket/releases
- https://github.com/SecureAuthCorp/impacket/blob/cb6d43a677c338db930bc4e9161620832c1ec624/impacket/smbserver.py#L876
- https://github.com/SecureAuthCorp/impacket/blob/cb6d43a677c338db930bc4e9161620832c1ec624/impacket/smbserver.py#L3485
- https://github.com/SecureAuthCorp/impacket/blob/cb6d43a677c338db930bc4e9161620832c1ec624/impacket/smbserver.py#L2008
- https://github.com/SecureAuthCorp/impacket/blob/cb6d43a677c338db930bc4e9161620832c1ec624/impacket/smbserver.py#L2958
- https://github.com/SecureAuthCorp/impacket/commit/49c643bf66620646884ed141c94e5fdd85bcdd2f
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UF56LYB27LHEIFJTFHU3M75NMNNK2SCG/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KRV2C5DATXBHG6TF6CEEX54KZ75THQS3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IPXDPWCAPVX3UWYZ3N2T5OLBSBBUHJP6/
- https://nvd.nist.gov/vuln/detail/CVE-2021-31800