Read the docs
TI-2021-16258 Aliases CVE-2021-38687GHSA-8397-33w7-cmhc

Stack Overflow Vulnerability in Surveillance Station

Priority MEDIUM 45CWE-120Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-120 and the CVSS impact.

Summary

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

Why it matters now

EPSS 0.01323 71st percentileScored 2026-11-07
Fix Fixed Surveillance Station (QNAP Systems Inc.): 5.2.0.4.2 ( 2021/10/26 ), 5.2.0.3.2 ( 2021/10/26 ), 5.1.5.4.6 ( 2021/10/26 ) +1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
QNAPSurveillance Stationbefore 5.2.0.4.2 ( 2021/10/26 )5.2.0.4.2 ( 2021/10/26 )Patch availableCNA
QNAPSurveillance Stationbefore 5.2.0.3.2 ( 2021/10/26 )5.2.0.3.2 ( 2021/10/26 )Patch availableCNA
QNAPSurveillance Stationbefore 5.1.5.4.6 ( 2021/10/26 )5.1.5.4.6 ( 2021/10/26 )Patch availableCNA
QNAPSurveillance Stationbefore 5.1.5.3.6 ( 2021/10/26 )5.1.5.3.6 ( 2021/10/26 )Patch availableCNA
QNAPSurveillance Stationbefore 5.1.5.3.6 ( 2021/10/26 )5.1.5.3.6 ( 2021/10/26 )Patch availableCNA
  • Surveillance Station VendorQNAP Affected before 5.2.0.4.2 ( 2021/10/26 ) Fixed in 5.2.0.4.2 ( 2021/10/26 ) Patch available CNA
  • Surveillance Station VendorQNAP Affected before 5.2.0.3.2 ( 2021/10/26 ) Fixed in 5.2.0.3.2 ( 2021/10/26 ) Patch available CNA
  • Surveillance Station VendorQNAP Affected before 5.1.5.4.6 ( 2021/10/26 ) Fixed in 5.1.5.4.6 ( 2021/10/26 ) Patch available CNA
  • Surveillance Station VendorQNAP Affected before 5.1.5.3.6 ( 2021/10/26 ) Fixed in 5.1.5.3.6 ( 2021/10/26 ) Patch available CNA
  • Surveillance Station VendorQNAP Affected before 5.1.5.3.6 ( 2021/10/26 ) Fixed in 5.1.5.3.6 ( 2021/10/26 ) Patch available CNA

CPE configurations NVD · 9

CPEVersionsRoleVendor
cpe:2.3:a:qnap:surveillance_station:*:*:*:*:*:*:*:*before 5.2.0.4.2VulnerableQNAP
cpe:2.3:o:qnap:qts:5.0.0:*:*:*:*:*:x64:*5.0.0Running onQNAP
cpe:2.3:a:qnap:surveillance_station:*:*:*:*:*:*:*:*before 5.2.0.3.2VulnerableQNAP
cpe:2.3:o:qnap:qts:5.0.0:*:*:*:*:*:x86:*5.0.0Running onQNAP
cpe:2.3:a:qnap:surveillance_station:*:*:*:*:*:*:*:*before 5.1.5.4.6VulnerableQNAP
cpe:2.3:o:qnap:qts:4.3.6:*:*:*:*:*:x64:*4.3.6Running onQNAP
cpe:2.3:a:qnap:surveillance_station:*:*:*:*:*:*:*:*before 5.1.5.3.6VulnerableQNAP
cpe:2.3:o:qnap:qts:4.3.6:*:*:*:*:*:x86:*4.3.6Running onQNAP
cpe:2.3:o:qnap:qts:4.3.3:*:*:*:*:*:*:*4.3.3Running onQNAP
  • cpe:2.3:a:qnap:surveillance_station:*:*:*:*:*:*:*:* Versions before 5.2.0.4.2 Vulnerable ·QNAP
  • cpe:2.3:o:qnap:qts:5.0.0:*:*:*:*:*:x64:* Versions 5.0.0 Running on ·QNAP
  • cpe:2.3:a:qnap:surveillance_station:*:*:*:*:*:*:*:* Versions before 5.2.0.3.2 Vulnerable ·QNAP
  • cpe:2.3:o:qnap:qts:5.0.0:*:*:*:*:*:x86:* Versions 5.0.0 Running on ·QNAP
  • cpe:2.3:a:qnap:surveillance_station:*:*:*:*:*:*:*:* Versions before 5.1.5.4.6 Vulnerable ·QNAP
  • cpe:2.3:o:qnap:qts:4.3.6:*:*:*:*:*:x64:* Versions 4.3.6 Running on ·QNAP
  • cpe:2.3:a:qnap:surveillance_station:*:*:*:*:*:*:*:* Versions before 5.1.5.3.6 Vulnerable ·QNAP
  • cpe:2.3:o:qnap:qts:4.3.6:*:*:*:*:*:x86:* Versions 4.3.6 Running on ·QNAP
  • cpe:2.3:o:qnap:qts:4.3.3:*:*:*:*:*:*:* Versions 4.3.3 Running on ·QNAP

Remediation

  • Fix · CNA Surveillance Station (QNAP Systems Inc.) Fixed in 5.2.0.4.2 ( 2021/10/26 )
  • Fix · CNA Surveillance Station (QNAP Systems Inc.) Fixed in 5.2.0.3.2 ( 2021/10/26 )
  • Fix · CNA Surveillance Station (QNAP Systems Inc.) Fixed in 5.1.5.4.6 ( 2021/10/26 )
  • Fix · CNA Surveillance Station (QNAP Systems Inc.) Fixed in 5.1.5.3.6 ( 2021/10/26 )
  • Fix · CNA Surveillance Station (QNAP Systems Inc.) Fixed in 5.1.5.3.6 ( 2021/10/26 )

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-38687
  2. 2026-10-03 Alias added: GHSA-8397-33w7-cmhc

References

  • TI-2021-09789 Stack Buffer Overflow in Surveillance Station CVSS 3.1CRITICAL 9.8
  • TI-2020-02213 Stack Buffer Overflow in Surveillance Station CVSS 3.1CRITICAL 9.8

Sources