{"id":"CVE-2021-38687","aliases":["CVE-2021-38687"],"related":[],"kind":"vulnerability","state":"published","title":"Stack Overflow Vulnerability in Surveillance Station","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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"es","text":"Se ha informado de una vulnerabilidad de desbordamiento del búfer de la pila que afecta al NAS de QNAP que ejecuta Surveillance Station. Si es explotado, esta vulnerabilidad permite a atacantes ejecutar código arbitrario. Ya hemos solucionado esta vulnerabilidad en las siguientes versiones de Surveillance Station: QTS versiones 5.0.0 (64 bits): Surveillance Station versiones 5.2.0.4.2 (26/10/2021) y posteriores QTS versiones 5.0.0 (32 bits): Surveillance Station versiones 5.2.0.3.2 (26/10/2021) y posteriores QTS versiones 4.3.6 (64 bits): Surveillance Station versiones 5.1.5.4.6 (26/10/2021) y posteriores QTS versiones 4.3.6 (32 bits): Surveillance Station versiones 5.1.5.3.6 (26/10/2021) y posteriores QTS versiones 4.3.3: Surveillance Station versiones 5.1.5.3.6 (26/10/2021) y posteriores","source":"nvd"}],"published":"2021-12-29T13:05:14.828Z","modified":"2026-06-17T04:02:35.407Z","severity":{"scorer":"qnap","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"qnap","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"5.2.0.4.2 ( 2021/10/26 )","status":"affected"}],"vendor":"QNAP Systems Inc.","product":"Surveillance Station","platforms":["QTS 5.0 (64 bit)"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"5.2.0.3.2 ( 2021/10/26 )","status":"affected"}],"vendor":"QNAP Systems Inc.","product":"Surveillance Station","platforms":["QTS 5.0 (32 bit)"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"5.1.5.4.6 ( 2021/10/26 )","status":"affected"}],"vendor":"QNAP Systems Inc.","product":"Surveillance Station","platforms":["QTS 4.3.6 (64 bit)"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"5.1.5.3.6 ( 2021/10/26 )","status":"affected"}],"vendor":"QNAP Systems Inc.","product":"Surveillance Station","platforms":["QTS 4.3.6 (32 bit)"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"5.1.5.3.6 ( 2021/10/26 )","status":"affected"}],"vendor":"QNAP Systems Inc.","product":"Surveillance Station","platforms":["QTS 4.3.3"],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.2.0.4.2"},{"status":"affected","fixed":"5.2.0.3.2"},{"status":"affected","fixed":"5.1.5.4.6"},{"status":"affected","fixed":"5.1.5.3.6"},{"status":"affected","fixed":"5.1.5.3.6"}],"vendor":"qnap","product":"surveillance_station","cpe":"cpe:2.3:a:qnap:surveillance_station:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.qnap.com/en/security-advisory/qsa-21-46","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["crixer"],"assigner":"qnap","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-38687","url":"https://www.cve.org/CVERecord?id=CVE-2021-38687","licence":"CVE Terms of Use","modified":"2024-09-16T20:22:38.263Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-38687","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38687","licence":"Public domain","modified":"2026-06-17T04:02:35.407Z"}],"updatedAt":"2026-11-25T22:58:06.292Z","epss":{"score":0.01323,"percentile":0.71737,"date":"2026-12-01T12:00:22.000Z"}}