{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-31800","published":"2021-05-05T11:15:07.397000Z","last_modified":"2026-06-17T03:52:15.463000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:secureauth:impacket:*:*:*:*:*:*:*:*","part":"a","vendor":"secureauth","product":"impacket","version_end_including":"0.9.22"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"32"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"33"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"34"}],"cpes_truncated":false,"vendors":["secureauth","fedoraproject"],"products":["secureauth/impacket","fedoraproject/fedora"],"epss":{"score":0.19409,"percentile":0.97925,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-mj63-64x7-57xf","ecosystem":"PyPI","name":"impacket","purl":"pkg:pypi/impacket","ranges":[{"introduced":"0","fixed":"0.9.23"}],"versions":["0.9.10","0.9.11","0.9.12","0.9.13","0.9.14","0.9.15","0.9.17","0.9.18","0.9.19","0.9.20","0.9.21","0.9.22"],"versions_truncated":false},{"advisory":"PYSEC-2021-17","ecosystem":"PyPI","name":"impacket","purl":"pkg:pypi/impacket","ranges":[{"introduced":"0.9.10","fixed":"0.9.23"}],"versions":["0.9.10","0.9.11","0.9.12","0.9.13","0.9.14","0.9.15","0.9.17","0.9.18","0.9.19","0.9.20","0.9.21","0.9.22"],"versions_truncated":false}],"severity":"critical","priority_score":76,"links":{"html_es":"/es/cve/CVE-2021-31800/","html_en":"/en/cve/CVE-2021-31800/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-31800","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-31800"},"untrusted":{"vendor_name":"Secureauth","product_name":"Impacket","desc_en":"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":[],"references":[{"url":"https://github.com/SecureAuthCorp/impacket/blob/cb6d43a677c338db930bc4e9161620832c1ec624/impacket/smbserver.py#L2008","tags":["Third Party Advisory"]},{"url":"https://github.com/SecureAuthCorp/impacket/blob/cb6d43a677c338db930bc4e9161620832c1ec624/impacket/smbserver.py#L2958","tags":["Third Party Advisory"]},{"url":"https://github.com/SecureAuthCorp/impacket/blob/cb6d43a677c338db930bc4e9161620832c1ec624/impacket/smbserver.py#L3485","tags":["Third Party Advisory"]},{"url":"https://github.com/SecureAuthCorp/impacket/blob/cb6d43a677c338db930bc4e9161620832c1ec624/impacket/smbserver.py#L876","tags":["Third Party Advisory"]},{"url":"https://github.com/SecureAuthCorp/impacket/commit/49c643bf66620646884ed141c94e5fdd85bcdd2f","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/SecureAuthCorp/impacket/releases","tags":["Release Notes","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IPXDPWCAPVX3UWYZ3N2T5OLBSBBUHJP6/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KRV2C5DATXBHG6TF6CEEX54KZ75THQS3/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UF56LYB27LHEIFJTFHU3M75NMNNK2SCG/","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:12011-1","url":"https://www.suse.com/support/update/","published":"2026-10-04T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"python313-impacket-0.13.1-1.2 on GA media"}}]}