CVE-2021-31800
CRITICAL9.8EPSS 39.8%Path traversal in impacket
發布日:2021/6/18修改日:2026/4/28
描述
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.
受影響套件(3)
- Debian/impacketfrom 0, < 0.9.22-2
- PyPI/impacketfrom 0, < 0.9.23
- PyPI/impacketfrom 0, < 49c643bf66620646884ed141c94e5fdd85bcdd2f | >= 0.9.10, < 0.9.23
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(19)
- ADVISORYhttps://github.com/advisories/GHSA-mj63-64x7-57xf
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-31800
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-31800
- PATCHhttps://github.com/fortra/impacket
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/impacket/PYSEC-2021-17.yaml
- WEBhttps://github.com/SecureAuthCorp/impacket/blob/cb6d43a677c338db930bc4e9161620832c1ec624/impacket/smbserver.py#L2008
- WEBhttps://github.com/SecureAuthCorp/impacket/blob/cb6d43a677c338db930bc4e9161620832c1ec624/impacket/smbserver.py#L2958
- WEBhttps://github.com/SecureAuthCorp/impacket/blob/cb6d43a677c338db930bc4e9161620832c1ec624/impacket/smbserver.py#L3485
- WEBhttps://github.com/SecureAuthCorp/impacket/blob/cb6d43a677c338db930bc4e9161620832c1ec624/impacket/smbserver.py#L876
- WEBhttps://github.com/SecureAuthCorp/impacket/commit/49c643bf66620646884ed141c94e5fdd85bcdd2f
- WEBhttps://github.com/SecureAuthCorp/impacket/commit/99bd29e3995c254e2d6f6c2e3454e4271665955a
- WEBhttps://github.com/SecureAuthCorp/impacket/releases
- WEBhttps://github.com/SecureAuthCorp/impacket/releases/tag/impacket_0_9_23
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/IPXDPWCAPVX3UWYZ3N2T5OLBSBBUHJP6
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/IPXDPWCAPVX3UWYZ3N2T5OLBSBBUHJP6/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/KRV2C5DATXBHG6TF6CEEX54KZ75THQS3
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/KRV2C5DATXBHG6TF6CEEX54KZ75THQS3/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/UF56LYB27LHEIFJTFHU3M75NMNNK2SCG
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/UF56LYB27LHEIFJTFHU3M75NMNNK2SCG/