CVE-2021-3139
JSON

8.1high

In Open-iSCSI tcmu-runner 1.3.x, 1.4.x, and 1.5.x through 1.5.2, xcopylocateudev in tcmurcmdhandler.c lacks a check for transport-layer res…

Severity
8.1high CVSS:3.1 by NVD
Exploit likelihood
2.68% (higher than 86% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
tcmu-runner_project tcmu-runnerfrom 1.3.0 up to 1.5.2NVD

All scores

NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD5.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:N

Classification

What each source says

CVE List

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.

NVD (es)

En Open-iSCSI tcmu-runner versiones 1.3.x, 1.4.x y versiones 1.5.x hasta 1.5.2, en la función xcopy_locate_udev en el archivo tcmur_cmd_handler.c carece de una comprobación de restricciones de la capa de transporte, permitiendo a atacantes remotos leer o escribir archivos por medio de un salto de directorio en una petición XCOPY. Por ejemplo, un ataque puede ocurrir en una red si el atacante presenta acceso a un iSCSI LUN. NOTA: en relación con CVE-2020-28374, este es un error similar en un algoritmo diferente.

References

https://bugzilla.suse.com/show_bug.cgi?id=1178372issue-tracking, third-party-advisory
https://bugzilla.suse.com/attachment.cgi?id=844938issue-tracking, third-party-advisory
https://www.openwall.com/lists/oss-security/2021/01/12/12mailing-list, third-party-advisory
http://www.openwall.com/lists/oss-security/2021/01/13/5mailing-list, mitigation, third-party-advisory
https://github.com/open-iscsi/tcmu-runner/pull/644patch, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-3139 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-3139 changed 2026-06-17Public domain