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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | tcmu | Fix pending | UBUNTU-CVE-2021-3139 | |
| Ubuntu 26.04 | tcmu | Fix pending | UBUNTU-CVE-2021-3139 | |
| Ubuntu 25.10 | tcmu | Will not fix Related to CVE-2020-28374 | UBUNTU-CVE-2021-3139 | |
| Ubuntu 24.04 | tcmu | Fix pending | UBUNTU-CVE-2021-3139 | |
| Ubuntu 22.04 | tcmu | Fix pending | UBUNTU-CVE-2021-3139 | |
| Ubuntu 20.04 | tcmu | Fixed | 1.5.2-5ubuntu0.20.04.1 | UBUNTU-CVE-2021-3139 |
| Debian 14 | tcmu | Fixed | 1.5.2-6 | DEBIAN-CVE-2021-3139 |
| Debian 13 | tcmu | Fixed | 1.5.2-6 | DEBIAN-CVE-2021-3139 |
| Debian 12 | tcmu | Fixed | 1.5.2-6 | DEBIAN-CVE-2021-3139 |
References
- https://bugzilla.suse.com/show_bug.cgi?id=1178372
- https://bugzilla.suse.com/attachment.cgi?id=844938
- https://www.openwall.com/lists/oss-security/2021/01/12/12
- http://www.openwall.com/lists/oss-security/2021/01/13/5
- https://github.com/open-iscsi/tcmu-runner/pull/644
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.