CVE-2021-31800

Source
https://cve.org/CVERecord?id=CVE-2021-31800
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31800.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-31800
Aliases
Downstream
Related
Published
2021-05-05T11:15:07.397Z
Modified
2026-07-08T05:59:48.259046074Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "32"
                },
                {
                    "last_affected": "32"
                },
                {
                    "introduced": "33"
                },
                {
                    "last_affected": "33"
                },
                {
                    "introduced": "34"
                },
                {
                    "last_affected": "34"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "fedoraproject:fedora"
        }
    ]
}
References

Affected packages

Git / github.com/fortra/impacket

Affected ranges

Type
GIT
Repo
https://github.com/fortra/impacket
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:secureauth:impacket:*:*:*:*:*:*:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.9.22"
        }
    ]
}

Affected versions

Other
impacket_0_9_13
impacket_0_9_14
impacket_0_9_15
impacket_0_9_17
impacket_0_9_18
impacket_0_9_19
impacket_0_9_20
impacket_0_9_21
impacket_0_9_22

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31800.json"