cve.bz

CVE-2021-31800

9.8 criticalEPSS 19%

Critical (9.8). EPSS 19% chance of exploitation in the next 30 days. Fixed in impacket 0.9.23.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
19% chance of exploitation in the next 30 days; higher than 97% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mj63-64x7-57xfPyPIimpacket<0.9.230.9.23
PYSEC-2021-17PyPIimpacket>=0.9.10 <0.9.230.9.23

References

Check your stackJSON