CVE-2017-17840 Memory corruption in n/a

High 7.8 Published Updated

A local attacker can trigger buffer overflows in the iscsiuio server via malformed messages, leading to service crashes or arbitrary code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-17840?

CVE-2017-17840 is a high-severity memory corruption vulnerability in n/a, published on 22 Dec 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was discovered in Open-iSCSI through 2.0.875. A local attacker can cause the iscsiuio server to abort or potentially execute code by sending messages with incorrect lengths, which (due to lack of checking) can lead to buffer overflows, and result in aborts (with overflow checking enabled) or code execution. The process_iscsid_broadcast function in iscsiuio/src/unix/iscsid_ipc.c does not validate the payload length before a write operation.

Weakness: CWE-119

Which versions are affected by CVE-2017-17840?

It affects 1 product.

Products include Open-Iscsi Project Open-Iscsi.

How do I fix CVE-2017-17840?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-17840 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-17840, GHSA-2mfv-hhmv-9rh8.

Is CVE-2017-17840 in your software?

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

Check your SBOMs for free