tcmu — security advisory
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.
- Products
- tcmu
- Affected versions
- 1.4.0-1, 1.5.2-2, 1.5.2-2ubuntu1, 1.5.2-3, 1.5.2-4, 1.5.2-5, 1.5.2-5build1, 1.5.2-6, 1.5.4-10, 1.5.4-2, 1.5.4-4.1, 1.5.4-5, 1.5.4-6ubuntu1, 1.5.4-9
- Fixed versions
- 1.5.2-5ubuntu0.20.04.1
- CVEs
- CVE-2021-3139
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:34 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2021-3139
tcmu
Fixed versions: 1.5.2-5ubuntu0.20.04.1
tcmu
Fixed versions: Not specified
tcmu
Fixed versions: Not specified
tcmu
Fixed versions: Not specified
tcmu
Fixed versions: Not specified
tcmu
Fixed versions: Not specified
Complete source record
{
"id": "ecbb8fc1bd3b7314bf9c388fbdc0a1f900135cbd4473b956b4a64d261f825e07",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-3139",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2021-3139",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2021-3139",
"products": [
{
"name": {
"value": "tcmu",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.5.2-5ubuntu0.20.04.1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "1.4.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.5.2-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.5.2-2ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "1.5.2-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.5.2-4",
"evidence": "/affected/0/versions"
},
{
"value": "1.5.2-5",
"evidence": "/affected/0/versions"
},
{
"value": "1.5.2-5build1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "tcmu",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.2-6",
"evidence": "/affected/1/versions"
},
{
"value": "1.5.4-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "tcmu",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.4-4.1",
"evidence": "/affected/2/versions"
},
{
"value": "1.5.4-5",
"evidence": "/affected/2/versions"
},
{
"value": "1.5.4-6ubuntu1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "tcmu",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.4-9",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "tcmu",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.4-10",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "tcmu",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.4-9",
"evidence": "/affected/5/versions"
},
{
"value": "1.5.4-10",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2021-3139",
"aliases": [
"UBUNTU-CVE-2021-3139"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.5.2-5ubuntu0.20.04.1"
}
]
}
],
"package": {
"name": "tcmu",
"purl": "pkg:deb/ubuntu/tcmu?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.4.0-1",
"1.5.2-2",
"1.5.2-2ubuntu1",
"1.5.2-3",
"1.5.2-4",
"1.5.2-5",
"1.5.2-5build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3139.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtcmu2",
"binary_version": "1.5.2-5ubuntu0.20.04.1"
},
{
"binary_name": "tcmu-runner",
"binary_version": "1.5.2-5ubuntu0.20.04.1"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tcmu",
"purl": "pkg:deb/ubuntu/tcmu?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.5.2-6",
"1.5.4-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3139.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtcmu2",
"binary_version": "1.5.4-2"
},
{
"binary_name": "tcmu-runner",
"binary_version": "1.5.4-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tcmu",
"purl": "pkg:deb/ubuntu/tcmu?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.5.4-4.1",
"1.5.4-5",
"1.5.4-6ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3139.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtcmu2",
"binary_version": "1.5.4-6ubuntu1"
},
{
"binary_name": "tcmu-runner",
"binary_version": "1.5.4-6ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tcmu",
"purl": "pkg:deb/ubuntu/tcmu?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.5.4-9"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3139.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtcmu2",
"binary_version": "1.5.4-9"
},
{
"binary_name": "tcmu-runner",
"binary_version": "1.5.4-9"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tcmu",
"purl": "pkg:deb/ubuntu/tcmu?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.5.4-10"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3139.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtcmu2",
"binary_version": "1.5.4-10"
},
{
"binary_name": "tcmu-runner",
"binary_version": "1.5.4-10"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tcmu",
"purl": "pkg:deb/ubuntu/tcmu?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.5.4-9",
"1.5.4-10"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3139.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtcmu2",
"binary_version": "1.5.4-10"
},
{
"binary_name": "tcmu-runner",
"binary_version": "1.5.4-10"
}
]
}
}
],
"modified": "2026-10-17T12:55:45.645962667Z",
"provider": "osv",
"upstream": [
"CVE-2021-3139"
],
"references": [
"https://ubuntu.com/security/CVE-2021-3139",
"https://www.openwall.com/lists/oss-security/2021/01/13/5",
"https://ubuntu.com/security/notices/USN-4707-1",
"https://www.cve.org/CVERecord?id=CVE-2021-3139"
]
},
"related_cves": [
{
"value": "CVE-2021-3139",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 354032,
"published_at": "2021-01-13T16:15:00+00:00"
}