CVE catalog

CVE-2021-31800

impacket: CVE-2021-31800

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
19.41% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianimpacketsid0.13.1-1fixed
Debianimpacketforky0.13.1-1fixed
Debianimpackettrixie0.12.0-3fixed
Debianimpacketbookworm0.10.0-4fixed
Opensusepython-impackettumbleweed0.13.1-1.2fixed
Opensusepython-impackettumbleweed0.11.0-3.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianimpacketsourcesid0.9.22-2not yet assignedNot reported[988141]
Debianimpacketsourceforky0.9.22-2not yet assignedNot reported[988141]
Debianimpacketsourcetrixie0.9.22-2not yet assignedNot reported[988141]
Debianimpacketsourcebookworm0.9.22-2not yet assignedNot reported[988141]
Opensusepython-impacketrpmtumbleweed0.13.1-1.2Not reportedOPENSUSE-SU-2026:12011-1Not reported
Opensusepython-impacketrpmtumbleweed0.11.0-3.3Not reportedOPENSUSE-SU-2024:14142-1Not reported

[Debian bug #988141]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [python-impacket]

    Details (1)
    • 0.13.1-1.2 · noarch · tumbleweed

      Unknown · Fixed: 0.11.0-3.3, 0.13.1-1.2

      Version impact unknown

      dsa · python-impacket · opensuse · tumbleweed

  • Source package: [python-impacket]

    Details (1)
    • 0.13.1-1.2 · noarch · tumbleweed

      Unknown · Fixed: 0.11.0-3.3, 0.13.1-1.2

      Version impact unknown

      dsa · python-impacket · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • Source package: [impacket]

    Details (2)
    • 0.10.0-4 · all · bookworm

      Fixed · Fixed: 0.9.22-2

      dsa · impacket · debian · bookworm; dsa · impacket · debian · 12

    • 0.10.0-4 · all · bookworm

      Fixed · Fixed: 0.9.22-2

      dsa · impacket · debian · bookworm; dsa · impacket · debian · 12

[Debian 13 (Trixie)]

  • Source package: [impacket]

    Details (2)
    • 0.12.0-3 · all · trixie

      Fixed · Fixed: 0.9.22-2

      dsa · impacket · debian · 13

    • 0.12.0-3 · all · trixie

      Fixed · Fixed: 0.9.22-2

      dsa · impacket · debian · 13

Observed:

References