CVE-2021-3139
Tcmu-runner Project Tcmu-runner vulnerability
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 products
Tcmu-runner. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Tcmu-runner Project Tcmu-runner runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/open-iscsi/tcmu-runner/pull/644 · Patch
- www.openwall.com/lists/oss-security/2021/01/13/5 · Mitigation
- bugzilla.suse.com/attachment.cgi?id=844938 · Third Party Advisory
- bugzilla.suse.com/show_bug.cgi?id=1178372 · Third Party Advisory
- www.openwall.com/lists/oss-security/2021/01/12/12 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-3139
- cve.org/CVERecord?id=CVE-2021-3139
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.