Critical, CVSS 9.3PyPIAmendedPublished
Path traversal in impacket
CVE-2021-31800 · GHSA-mj63-64x7-57xf
- Affected
- PyPI impacket < 0.9.23
- Fixed in
- 0.9.23· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.9.23 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.