Directory Traversal Affecting tcmu package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.68% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2104-TCMU-1255735
  • published15 Jan 2021
  • disclosed13 Jan 2021

Introduced: 13 Jan 2021

CVE-2021-3139  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:21.04 tcmu.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tcmu package and not the tcmu package as distributed by Ubuntu. See How to fix? for Ubuntu:21.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1