CVE-2021-31800

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.
Path Traversal
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 97%
VendorProductVersion
secureauthimpacket
𝑥
≤ 0.9.22
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
impacket
bullseye
0.9.22-2
fixed
buster
no-dsa
stretch
no-dsa
bookworm
0.10.0-4
fixed
sid
0.12.0-2
fixed
trixie
0.12.0-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
impacket
noble
needs-triage
mantic
ignored
lunar
ignored
kinetic
ignored
jammy
needs-triage
impish
ignored
hirsute
ignored
groovy
ignored
focal
needs-triage
bionic
needs-triage
xenial
needs-triage
trusty
ignored
References