CVE-2021-31800

medium
Published 2021-06-18 ยท Modified 2023-11-08
CVSS v3
โ€”
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.5

Description

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.

Predictions

Exploit likelihood
30%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
arch archfixed0.9.23-1
suse slesaffected
debian debianbookwormfixed0.9.22-2
debian debianbullseyefixed0.9.22-2
debian debianforkyfixed0.9.22-2
debian debiansidfixed0.9.22-2
debian debiantrixiefixed0.9.22-2

Package impact

EcosystemPackageVulnerableFixed
python PyPIimpacket<0.9.230.9.23
python PyPIimpacket<49c643bf66620646884ed141c94e5fdd85bcdd2f||>=0.9.10,<0.9.2349c643bf66620646884ed141c94e5fdd85bcdd2f

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.