CVE-2020-28374 Path traversal in n/a

High 8.1 Published Updated

Remote attackers with iSCSI LUN access can read or write arbitrary files via directory traversal in Linux kernel LIO SCSI target code.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-28374?

CVE-2020-28374 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 13 Jan 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In drivers/target/target_core_xcopy.c in the Linux kernel before 5.10.7, insufficient identifier checking in the LIO SCSI target code can be used by remote attackers to read or write files via directory traversal in an XCOPY request, aka CID-2896c93811e3. For example, an attack can occur over a network if the attacker has access to one iSCSI LUN. The attacker gains control over file access because I/O operations are proxied via an attacker-selected backstore.

Weakness: CWE-22

Which versions are affected by CVE-2020-28374?

It affects 3 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Linux kernel.

How do I fix CVE-2020-28374?

Apply the vendor's patch.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2020-28374 being exploited?

There is no known exploitation of CVE-2020-28374 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-28374, GHSA-xp87-7m9f-4cr9, MGASA-2021-0047, UBUNTU-CVE-2020-28374, USN-4694-1, USN-4713-1 and 3 more.

Is CVE-2020-28374 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free