CVEfocus › CVE database › CVE-2021-3139

CVE-2021-3139

CVSS 8.1 HighEPSS 2.7% (higher than 87% of CVEs)Published 2021-01-13Updated 2024-08-03Assigner: mitre

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

4Fixed
4Fix pending
1Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10tcmuFix pendingUBUNTU-CVE-2021-3139
Ubuntu 26.04tcmuFix pendingUBUNTU-CVE-2021-3139
Ubuntu 25.10tcmuWill not fix
Related to CVE-2020-28374
UBUNTU-CVE-2021-3139
Ubuntu 24.04tcmuFix pendingUBUNTU-CVE-2021-3139
Ubuntu 22.04tcmuFix pendingUBUNTU-CVE-2021-3139
Ubuntu 20.04tcmuFixed1.5.2-5ubuntu0.20.04.1UBUNTU-CVE-2021-3139
Debian 14tcmuFixed1.5.2-6DEBIAN-CVE-2021-3139
Debian 13tcmuFixed1.5.2-6DEBIAN-CVE-2021-3139
Debian 12tcmuFixed1.5.2-6DEBIAN-CVE-2021-3139

References

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.