CVE-2021-38687 Stack Overflow Vulnerability in Surveillance Station

High 8.1 Published Updated

Attackers can execute arbitrary code on QNAP NAS devices via a stack buffer overflow in Surveillance Station.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-38687?

CVE-2021-38687 is a high-severity memory corruption vulnerability in QNAP Systems Inc. Surveillance Station, published on 29 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A stack buffer overflow vulnerability has been reported to affect QNAP NAS running Surveillance Station. If exploited, this vulnerability allows attackers to execute arbitrary code. We have already fixed this vulnerability in the following versions of Surveillance Station: QTS 5.0.0 (64 bit): Surveillance Station 5.2.0.4.2 ( 2021/10/26 ) and later QTS 5.0.0 (32 bit): Surveillance Station 5.2.0.3.2 ( 2021/10/26 ) and later QTS 4.3.6 (64 bit): Surveillance Station 5.1.5.4.6 ( 2021/10/26 ) and later QTS 4.3.6 (32 bit): Surveillance Station 5.1.5.3.6 ( 2021/10/26 ) and later QTS 4.3.3: Surveillance Station 5.1.5.3.6 ( 2021/10/26 ) and later

Weakness: CWE-120

Which versions are affected by CVE-2021-38687?

It affects 1 product.

Products include Qnap Surveillance Station.

How do I fix CVE-2021-38687?

No fix has been published for CVE-2021-38687 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-2021-38687 being exploited?

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

Sources

Also known as GHSA-8397-33w7-cmhc.

Is CVE-2021-38687 in your software?

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

Check your SBOMs for free