NetSight
critical9.8

CVE-2021-31800

Path traversal in impacket

Impact

Multiple path traversal vulnerabilities exist in smbserver.py in Impacket before 0.9.23. 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.

Affected packages

EcosystemPackageAffectedFixed in
pipimpacket< 0.9.230.9.23

Affected products

VendorProductAffected versions
SecureauthImpacket
through 0.9.22
FedoraprojectFedora
Versions 32, 33, 34

Weakness classification

References