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.
CVSS Details
- CVSS 3.1 Base Score: 9.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | alpine-linux-upgrade-py3-impacket | Aug 22, 2024 | May 5, 2021 | |
| Arch Linux | arch-linux-upgrade-latest | Jul 11, 2025 | May 5, 2021 | |
| Debian | debian-upgrade-impacket | Jul 30, 2024 | May 5, 2021 | |
| Freebsd | freebsd-upgrade-package-py37-impacketfreebsd-upgrade-package-py38-impacketfreebsd-upgrade-package-py39-impacketfreebsd-upgrade-package-py310-impacketfreebsd-upgrade-package-py311-impacket | Apr 14, 2023 | Apr 9, 2023 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub