CVE-2018-3912 Memory corruption in SmartThings Hub STH-ETH-250

High 7.5 Published Updated

A stack buffer overflow in the video-core process allows remote code execution via a crafted secretKey value in the SQLite database.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-3912?

CVE-2018-3912 is a high-severity memory corruption vulnerability in Samsung SmartThings Hub STH-ETH-250, published on 23 Aug 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

On Samsung SmartThings Hub STH-ETH-250 devices with firmware version 0.20.17, the video-core process insecurely extracts the fields from the "shard" table of its SQLite database, leading to a buffer overflow on the stack. The strcpy call overflows the destination buffer, which has a size of 128 bytes. An attacker can send an arbitrarily long "secretKey" value in order to exploit this vulnerability.

Weakness: CWE-787

Which versions are affected by CVE-2018-3912?

It affects 1 product.

Products include Samsung Sth-Eth-250 Firmware.

How do I fix CVE-2018-3912?

No fix has been published for CVE-2018-3912 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2018-3912 being exploited?

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

Sources

Also known as GHSA-jf9m-gjvc-r854.

Is CVE-2018-3912 in your software?

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

Check your SBOMs for free