Published record · Synology
CVE-2021-3156
A high-severity vulnerability recorded against the Synology VS960HD, published on 26 January 2021. It is in CISA’s catalogue of vulnerabilities exploited somewhere in the world.
High7.8 severityIn CISA KEVNVD status: Analyzed
7.8 of 10 · High
>99.9% 99th percentile
What the record says
Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which allows privilege escalation to root via "sudoedit -s" and a command-line argument that ends with a single backslash character.
Weakness CWE-193
Severity, in plain words
NVD records a CVSS 3.1 base score of 7.8 (high severity), scored by NVD. The score describes the weakness itself: how it can be reached and what it can do. It does not measure whether any particular camera is exposed.
| What it measures | Value | In plain words |
|---|---|---|
| Attack vector | Local | Needs local access to the device, such as a session on it. |
| Attack complexity | Low | No special conditions are needed. |
| Privileges required | Low | Needs an ordinary user account. |
| User interaction | None | Nobody has to do anything for it to work. |
| Scope | Unchanged | The impact stays within the vulnerable component. |
| Confidentiality | High | Total loss of confidentiality: information can be read. |
| Integrity | High | Total loss of integrity: data or settings can be changed. |
| Availability | High | Total loss of availability: the device or service can be stopped. |
Exploitation
In CISA KEVAdded to CISA’s Known Exploited Vulnerabilities catalogue on 6 April 2022, with 27 April 2022 set as the date by which US federal civilian agencies must act. CISA does not record use of it in ransomware campaigns (it lists that as unknown).
Required action, as CISA words it: “Apply updates per vendor instructions.”
EPSS estimates a >99.9% chance of exploitation attempts against this vulnerability somewhere on the internet in the next 30 days (as of 6 November 2026). That is as high as or higher than 99% of all the records EPSS scores.
- CISA KEV lists vulnerabilities with evidence of exploitation somewhere in the world, not on your device.
- EPSS estimates the chance of exploitation attempts in the next 30 days across the internet. It is not a measure of your camera's risk.
Affected models 1
The models this record names in its configuration data, with the firmware versions it gives for them. A version outside these ranges is not confirmed as unaffected: the record may be incomplete.
Affected versions every version (the record sets no limit)
Is your camera on the list?
Check your model and firmware version against every published record, not only this one. It is free and nothing connects to your camera.
Get an email when a new record names your camera
New records appear after cameras are bought. Save the Synology VS960HD and we will tell you when one names it.
References 34
Vendor advisories and fixes
Third-party analysis
- seclists.org/fulldisclosure/2021/Feb/42
- www.openwall.com/lists/oss-security/2021/01/27/1
- www.openwall.com/lists/oss-security/2021/01/27/2
- kc.mcafee.com/corporate/index?page=content&id=SB10348
- lists.debian.org/debian-lts-announce/2021/01/msg00022.html
- security.gentoo.org/glsa/202101-33
- security.netapp.com/advisory/ntap-20210128-0001/
- security.netapp.com/advisory/ntap-20210128-0002/
- support.apple.com/kb/HT212177
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-sudo-privesc-jan2021-qnYQfcM
- www.beyondtrust.com/blog/entry/security-advisory-privilege-management-for-unix-linux-pmul-basic-and-privilege-management-for-mac-pmm-affected-by-sudo-vulnerability
- www.debian.org/security/2021/dsa-4839
- www.kb.cert.org/vuls/id/794544
- www.synology.com/security/advisory/Synology_SA_21_02
Exploit code or proof of concept
- packetstormsecurity.com/files/161160/Sudo-Heap-Based-Buffer-Overflow.html
- packetstormsecurity.com/files/161230/Sudo-Buffer-Overflow-Privilege-Escalation.html
- packetstormsecurity.com/files/161270/Sudo-1.9.5p1-Buffer-Overflow-Privilege-Escalation.html
- packetstormsecurity.com/files/161293/Sudo-1.8.31p2-1.9.5p1-Buffer-Overflow.html
- packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.html
- seclists.org/fulldisclosure/2021/Jan/79
- seclists.org/fulldisclosure/2024/Feb/3
- www.openwall.com/lists/oss-security/2021/01/26/3
- www.openwall.com/lists/oss-security/2021/02/15/1
- www.openwall.com/lists/oss-security/2024/01/30/6
- www.vicarius.io/vsociety/posts/sudoedit-pwned-cve-2021-3156
Government notices
Other references
- www.openwall.com/lists/oss-security/2024/01/30/8
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CALA5FTXIQBRRYUA2ZQNJXB6OQMAXEII/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LHXK6ICO5AYLGFK2TAX5MZKUXTUKWOJY/
- www.sudo.ws/stable.html#1.9.5p2
Timeline
- Published in NVD
- Added to CISA KEV
- CISA remediation date for US federal civilian agencies
- Last modified in NVD
- EPSS >99.9% published by FIRST