impacket
Affected
- introduced
0, fixed0.9.23(ecosystem)
Fixed versions
0.9.23
Fix
- Fixed version
0.9.23pip install --upgrade impacket==0.9.23
Advisory
Also known as: CVE-2021-31800, PYSEC-2021-17
Path traversal in impacket
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.
Critical Basis: The source's own band: CRITICAL
0, fixed 0.9.23 (ecosystem)0.9.23
0.9.23pip install --upgrade impacket==0.9.23Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0