Path Traversal in Tcmu-Runner Project
CVE-2021-3139
In Open-iSCSI tcmu-runner 1.3.x, 1.4.x, and 1.5.x through 1.5.2, xcopy_locate_udev in tcmur_cmd_handler.c lacks a check for transport-layer restrictions, allowing remote attackers to read or write files via directory traversal in an XCOPY request. For example, an attack can occur over a network if the attacker has access to one iSCSI LUN. NOTE: relative to CVE-2020-28374, this is a similar mistake in a different algorithm.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.027, 86.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- bugzilla.suse.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- bugzilla.suse.com/attachment.cgi (Third Party Advisory, Issue Tracking)
- www.openwall.com/lists/oss-security/2021/01/12/12 (Mailing List, Third Party Advisory)
- [oss-security] 20210113 Re: CVE-2020-28374: Linux SCSI target (LIO) unrestricted copy offload (mailing-list, Mailing List, Third Party Advisory, Mitigation)
- github.com/open-iscsi/tcmu-runner/pull/644 (Patch, Third Party Advisory)