CVE search · CVE-2021-3156
CVE-2021-3156
high 7.8 Known exploited
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.
Details
- Status
- Analyzed
- Published
- Last changed
- Source
- cve@mitre.org
- Weakness
- CWE-193
Severity
| Version | Score | Vector | Source |
|---|---|---|---|
| CVSS 3.1 | high 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
nvd@nist.govPrimary |
| CVSS 3.1 | high 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary |
| CVSS 2.0 | high 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
nvd@nist.govPrimary |
Affected products
Vendor and product from the NVD’s CPE applicability statements. Versions and conditions are on the NVD’s page.
- sudo_project · sudo
- fedoraproject · fedora
- debian · debian_linux
- netapp · active_iq_unified_manager
- netapp · cloud_backup
- netapp · hci_management_node
- netapp · oncommand_unified_manager_core_package
- netapp · ontap_select_deploy_administration_utility
- netapp · ontap_tools
- netapp · solidfire
- mcafee · web_gateway
- synology · diskstation_manager_unified_controller
- synology · diskstation_manager
- synology · skynas_firmware
- synology · vs960hd_firmware
- beyondtrust · privilege_management_for_mac
- beyondtrust · privilege_management_for_unix/linux
- oracle · micros_compact_workstation_3_firmware
- oracle · micros_es400_firmware
- oracle · micros_kitchen_display_system_firmware
- oracle · micros_workstation_5a_firmware
- oracle · micros_workstation_6_firmware
- oracle · communications_performance_intelligence_center
- oracle · tekelec_platform_distribution
References
- http://packetstormsecurity.com/files/161160/Sudo-Heap-Based-Buffer-Overflow.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/161230/Sudo-Buffer-Overflow-Privilege-Escalation.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/161270/Sudo-1.9.5p1-Buffer-Overflow-Privilege-Escalation.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/161293/Sudo-1.8.31p2-1.9.5p1-Buffer-Overflow.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.htmlExploitThird Party AdvisoryVDB Entry
- http://seclists.org/fulldisclosure/2021/Feb/42Mailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2021/Jan/79ExploitMailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2024/Feb/3ExploitMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/01/26/3ExploitMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/01/27/1Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/01/27/2Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/02/15/1ExploitMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/09/14/2Mailing ListPatchThird Party Advisory
- http://www.openwall.com/lists/oss-security/2024/01/30/6ExploitMailing List
- http://www.openwall.com/lists/oss-security/2024/01/30/8Mailing List
- https://kc.mcafee.com/corporate/index?page=content&id=SB10348Broken LinkThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00022.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CALA5FTXIQBRRYUA2ZQNJXB6OQMAXEII/Mailing ListRelease Notes
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LHXK6ICO5AYLGFK2TAX5MZKUXTUKWOJY/Mailing ListRelease Notes
- https://security.gentoo.org/glsa/202101-33Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210128-0001/Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210128-0002/Third Party Advisory
- https://support.apple.com/kb/HT212177Third Party Advisory
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-sudo-privesc-jan2021-qnYQfcMThird Party Advisory
- https://www.beyondtrust.com/blog/entry/security-advisory-privilege-management-for-unix-linux-pmul-basic-and-privilege-management-for-mac-pmm-affected-by-sudo-vulnerabilityThird Party Advisory
- https://www.debian.org/security/2021/dsa-4839Third Party Advisory
- https://www.kb.cert.org/vuls/id/794544Third Party AdvisoryUS Government Resource
- https://www.openwall.com/lists/oss-security/2021/01/26/3ExploitMailing ListThird Party Advisory
- https://www.oracle.com//security-alerts/cpujul2021.htmlPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.htmlPatchThird Party Advisory
- https://www.sudo.ws/stable.html#1.9.5p2Release Notes
- https://www.synology.com/security/advisory/Synology_SA_21_02Third Party Advisory
- https://www.vicarius.io/vsociety/posts/sudoedit-pwned-cve-2021-3156ExploitThird Party Advisory
- http://packetstormsecurity.com/files/161160/Sudo-Heap-Based-Buffer-Overflow.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/161230/Sudo-Buffer-Overflow-Privilege-Escalation.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/161270/Sudo-1.9.5p1-Buffer-Overflow-Privilege-Escalation.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/161293/Sudo-1.8.31p2-1.9.5p1-Buffer-Overflow.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.htmlExploitThird Party AdvisoryVDB Entry
- http://seclists.org/fulldisclosure/2021/Feb/42Mailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2021/Jan/79ExploitMailing ListThird Party Advisory
- http://seclists.org/fulldisclosure/2024/Feb/3ExploitMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/01/26/3ExploitMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/01/27/1Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/01/27/2Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/02/15/1ExploitMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/09/14/2Mailing ListPatchThird Party Advisory
- http://www.openwall.com/lists/oss-security/2024/01/30/6ExploitMailing List
- http://www.openwall.com/lists/oss-security/2024/01/30/8Mailing List
- https://kc.mcafee.com/corporate/index?page=content&id=SB10348Broken LinkThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/01/msg00022.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CALA5FTXIQBRRYUA2ZQNJXB6OQMAXEII/Mailing ListRelease Notes
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LHXK6ICO5AYLGFK2TAX5MZKUXTUKWOJY/Mailing ListRelease Notes
- https://security.gentoo.org/glsa/202101-33Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210128-0001/Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210128-0002/Third Party Advisory
- https://support.apple.com/kb/HT212177Third Party Advisory
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-sudo-privesc-jan2021-qnYQfcMThird Party Advisory
- https://www.beyondtrust.com/blog/entry/security-advisory-privilege-management-for-unix-linux-pmul-basic-and-privilege-management-for-mac-pmm-affected-by-sudo-vulnerabilityThird Party Advisory
- https://www.debian.org/security/2021/dsa-4839Third Party Advisory
- https://www.kb.cert.org/vuls/id/794544Third Party AdvisoryUS Government Resource
- https://www.openwall.com/lists/oss-security/2021/01/26/3ExploitMailing ListThird Party Advisory
- https://www.oracle.com//security-alerts/cpujul2021.htmlPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.htmlPatchThird Party Advisory
- https://www.sudo.ws/stable.html#1.9.5p2Release Notes
- https://www.synology.com/security/advisory/Synology_SA_21_02Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3156US Government Resource