CVE-2021-31800

EUVD-2021-0100
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
NISTPrimary
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
Base Score
CVSS 3.x
EPSS Score
Percentile: 97%
Affected Products (NVD)
VendorProductVersion
secureauthimpacket
𝑥
≤ 0.9.22
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
impacket
bookworm
0.10.0-4
fixed
bullseye
0.9.22-2
fixed
buster
no-dsa
sid
0.12.0-2
fixed
stretch
no-dsa
trixie
0.12.0-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
impacket
bionic
needs-triage
focal
needs-triage
groovy
ignored
hirsute
ignored
impish
ignored
jammy
needs-triage
kinetic
ignored
lunar
ignored
mantic
ignored
noble
needs-triage
trusty
ignored
xenial
needs-triage
References