Name | CVE-2021-3139 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 980007 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
tcmu (PTS) | bullseye | 1.5.2-6 | fixed |
bookworm | 1.5.4-4.1 | fixed | |
sid, trixie | 1.5.4-9 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
tcmu | source | (unstable) | 1.5.2-6 | 980007 |
https://www.openwall.com/lists/oss-security/2021/01/12/12
https://www.openwall.com/lists/oss-security/2021/01/13/5
https://github.com/open-iscsi/tcmu-runner/issues/645
https://github.com/open-iscsi/tcmu-runner/pull/644
Fixed by: https://github.com/open-iscsi/tcmu-runner/commit/2b16e96e6b63d0419d857f53e4cc67f0adb383fd
Some followup fixes: https://github.com/open-iscsi/tcmu-runner/pull/646
https://github.com/open-iscsi/tcmu-runner/commit/b202dc06ef391c6ab9a7561856238a258de04663
https://github.com/open-iscsi/tcmu-runner/commit/170bfa63288a399b38c35eb646b2835d4ba7c08a
https://github.com/open-iscsi/tcmu-runner/commit/01685b2ab8c430c0fb9ce397e7e76b60fe6cbde5