Vulnerability · Published Jan 13, 2021 · Assigned by mitre
CVE-2021-3139
High 8.1
In plain English
A high-severity security flaw in the tcmu package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.7% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | tcmu | 1.5.2-6 | DEBIAN-CVE-2021-3139 |
| Debian:13 | tcmu | 1.5.2-6 | DEBIAN-CVE-2021-3139 |
| Debian:14 | tcmu | 1.5.2-6 | DEBIAN-CVE-2021-3139 |
| Ubuntu:22.04:LTS | tcmu | no fix listed | UBUNTU-CVE-2021-3139 |
| Ubuntu:24.04:LTS | tcmu | no fix listed | UBUNTU-CVE-2021-3139 |
| Ubuntu:25.10 | tcmu | no fix listed | UBUNTU-CVE-2021-3139 |
| Ubuntu:26.04:LTS | tcmu | no fix listed | UBUNTU-CVE-2021-3139 |
| Ubuntu:26.10 | tcmu | no fix listed | UBUNTU-CVE-2021-3139 |
Affected products (as reported)
References
- https://bugzilla.suse.com/show_bug.cgi?id=1178372 x_refsource_MISC
- https://bugzilla.suse.com/attachment.cgi?id=844938 x_refsource_MISC
- https://www.openwall.com/lists/oss-security/2021/01/12/12 x_refsource_MISC
- [oss-security] 20210113 Re: CVE-2020-28374: Linux SCSI target (LIO) unrestricted copy offload mailing-list, x_refsource_MLIST
- https://github.com/open-iscsi/tcmu-runner/pull/644 x_refsource_CONFIRM