UBUNTU-CVE-2021-31800

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-31800

    UBUNTU-CVE-2021-31800

    Published: 5 May 2021Last Modified: 20 May 2026
    Upstream:

    Summary:

    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.

    Affected packages

    Package

    Name: impacket

    Purl: pkg:deb/ubuntu/impacket?arch=source&distro=xenial

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    0.9.12-1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2021-31800 | CVE-DB