Stack Overflow Vulnerability in Surveillance Station
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| QNAP | Surveillance Station | before 5.2.0.4.2 ( 2021/10/26 ) | 5.2.0.4.2 ( 2021/10/26 ) | Patch available | CNA |
| QNAP | Surveillance Station | before 5.2.0.3.2 ( 2021/10/26 ) | 5.2.0.3.2 ( 2021/10/26 ) | Patch available | CNA |
| QNAP | Surveillance Station | before 5.1.5.4.6 ( 2021/10/26 ) | 5.1.5.4.6 ( 2021/10/26 ) | Patch available | CNA |
| QNAP | Surveillance Station | before 5.1.5.3.6 ( 2021/10/26 ) | 5.1.5.3.6 ( 2021/10/26 ) | Patch available | CNA |
| QNAP | Surveillance Station | before 5.1.5.3.6 ( 2021/10/26 ) | 5.1.5.3.6 ( 2021/10/26 ) | Patch available | CNA |
- 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
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:qnap:surveillance_station:*:*:*:*:*:*:*:* | before 5.2.0.4.2 | Vulnerable | QNAP |
| cpe:2.3:o:qnap:qts:5.0.0:*:*:*:*:*:x64:* | 5.0.0 | Running on | QNAP |
| cpe:2.3:a:qnap:surveillance_station:*:*:*:*:*:*:*:* | before 5.2.0.3.2 | Vulnerable | QNAP |
| cpe:2.3:o:qnap:qts:5.0.0:*:*:*:*:*:x86:* | 5.0.0 | Running on | QNAP |
| cpe:2.3:a:qnap:surveillance_station:*:*:*:*:*:*:*:* | before 5.1.5.4.6 | Vulnerable | QNAP |
| cpe:2.3:o:qnap:qts:4.3.6:*:*:*:*:*:x64:* | 4.3.6 | Running on | QNAP |
| cpe:2.3:a:qnap:surveillance_station:*:*:*:*:*:*:*:* | before 5.1.5.3.6 | Vulnerable | QNAP |
| cpe:2.3:o:qnap:qts:4.3.6:*:*:*:*:*:x86:* | 4.3.6 | Running on | QNAP |
| cpe:2.3:o:qnap:qts:4.3.3:*:*:*:*:*:*:* | 4.3.3 | Running on | QNAP |
- 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
- 2026-10-02 Threatist record created from CVE-2021-38687
- 2026-10-03 Alias added: GHSA-8397-33w7-cmhc
References
More QNAP Surveillance Station vulnerabilities
- 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
- CVE-2021-38687 · CVE Program
- CVE-2021-38687 · NVD
- FIRST EPSS
- GHSA-8397-33w7-cmhc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences