CVE-2021-31800

Source
https://nvd.nist.gov/vuln/detail/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
Related
Published
2021-05-05T11:15:07Z
Modified
2024-09-18T03:14:23.054785Z
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.

References

Affected packages

Debian:11 / impacket

Package

Name
impacket
Purl
pkg:deb/debian/impacket?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.22-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / impacket

Package

Name
impacket
Purl
pkg:deb/debian/impacket?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.22-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / impacket

Package

Name
impacket
Purl
pkg:deb/debian/impacket?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.22-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

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
Fixed
Type
GIT
Repo
https://github.com/secureauthcorp/impacket
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

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