CVE-2018-17937 Memory corruption in gpsd and microjson (Open Source Project)

High 8.8 Published Updated

Remote attackers can execute arbitrary code on embedded platforms via crafted JSON inputs or network traffic due to a stack-based buffer overflow in gpsd and microjson.

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

What is CVE-2018-17937?

CVE-2018-17937 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 13 Mar 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

gpsd versions 2.90 to 3.17 and microjson versions 1.0 to 1.3, an open source project, allow a stack-based buffer overflow, which may allow remote attackers to execute arbitrary code on embedded platforms via traffic on Port 2947/TCP or crafted JSON inputs.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2018-17937?

It affects 3 products.

Products include Debian Debian Linux, Gpsd Project Gpsd, Microjson Project Microjson.

How do I fix CVE-2018-17937?

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-2018-17937 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-17937, DLA-1738-1, DLA-2795-1, GHSA-67xr-69p3-rj69, MGASA-2019-0150, UBUNTU-CVE-2018-17937.

Is CVE-2018-17937 in your software?

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

Check your SBOMs for free