VDB
Sign up
—

PYSEC-2021-17

Quick fix

PYSEC-2021-17 — impacket: upgrade to the fixed version with the command below.

pip install --upgrade 'impacket>=49c643bf66620646884ed141c94e5fdd85bcdd2f'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/impacket
Introduced in: 0Fixed in: 49c643bf66620646884ed141c94e5fdd85bcdd2f
Fixpip install --upgrade 'impacket>=49c643bf66620646884ed141c94e5fdd85bcdd2f'

References