CVE-2021-3139
Last modified
CVE-2021-3139 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. EPSS estimates a 2.65% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Tcmu-Runner Project | Tcmu-Runner | >= 1.3.0, <= 1.5.2 |
References
- http://www.openwall.com/lists/oss-security/2021/01/13/5Mailing List, Mitigation, Third Party Advisory
- https://bugzilla.suse.com/attachment.cgi?id=844938Issue Tracking, Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1178372Issue Tracking, Third Party Advisory
- https://github.com/open-iscsi/tcmu-runner/pull/644Patch, 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://bugzilla.suse.com/attachment.cgi?id=844938Issue Tracking, Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1178372Issue Tracking, Third Party Advisory
- https://github.com/open-iscsi/tcmu-runner/pull/644Patch, Third Party Advisory
- https://www.openwall.com/lists/oss-security/2021/01/12/12Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-3139?
How severe is CVE-2021-3139?
How do I fix CVE-2021-3139?
Are you affected by CVE-2021-3139?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
