rhsa-2021_0220
Vulnerability from csaf_redhat
Published
2021-01-26 19:36
Modified
2024-11-15 11:46
Summary
Red Hat Security Advisory: sudo security update
Notes
Topic
An update for sudo is now available for Red Hat Enterprise Linux 8.1 Extended Update Support.
Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
The sudo packages contain the sudo utility which allows system administrators to provide certain users with the permission to execute privileged commands, which are used for system management purposes, without having to log in as root.
Security Fix(es):
* sudo: Heap buffer overflow in argument parsing (CVE-2021-3156)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Terms of Use
This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.
{ "document": { "aggregate_severity": { "namespace": "https://access.redhat.com/security/updates/classification/", "text": "Important" }, "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.", "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "summary", "text": "An update for sudo is now available for Red Hat Enterprise Linux 8.1 Extended Update Support.\n\nRed Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.", "title": "Topic" }, { "category": "general", "text": "The sudo packages contain the sudo utility which allows system administrators to provide certain users with the permission to execute privileged commands, which are used for system management purposes, without having to log in as root.\n\nSecurity Fix(es):\n\n* sudo: Heap buffer overflow in argument parsing (CVE-2021-3156)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.", "title": "Details" }, { "category": "legal_disclaimer", "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.", "title": "Terms of Use" } ], "publisher": { "category": "vendor", "contact_details": "https://access.redhat.com/security/team/contact/", "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.", "name": "Red Hat Product Security", "namespace": "https://www.redhat.com" }, "references": [ { "category": "self", "summary": "https://access.redhat.com/errata/RHSA-2021:0220", "url": "https://access.redhat.com/errata/RHSA-2021:0220" }, { "category": "external", "summary": "https://access.redhat.com/security/updates/classification/#important", "url": "https://access.redhat.com/security/updates/classification/#important" }, { "category": "external", "summary": "https://access.redhat.com/security/vulnerabilities/RHSB-2021-002", "url": "https://access.redhat.com/security/vulnerabilities/RHSB-2021-002" }, { "category": "external", "summary": "1917684", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1917684" }, { "category": "self", "summary": "Canonical URL", "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_0220.json" } ], "title": "Red Hat Security Advisory: sudo security update", "tracking": { "current_release_date": "2024-11-15T11:46:15+00:00", "generator": { "date": "2024-11-15T11:46:15+00:00", "engine": { "name": "Red Hat SDEngine", "version": "4.2.1" } }, "id": "RHSA-2021:0220", "initial_release_date": "2021-01-26T19:36:08+00:00", "revision_history": [ { "date": "2021-01-26T19:36:08+00:00", "number": "1", "summary": "Initial version" }, { "date": "2021-01-26T19:36:08+00:00", "number": "2", "summary": "Last updated version" }, { "date": "2024-11-15T11:46:15+00:00", "number": "3", "summary": "Last generated version" } ], "status": "final", "version": "3" } }, "product_tree": { "branches": [ { "branches": [ { "branches": [ { "category": "product_name", "name": "Red Hat Enterprise Linux BaseOS EUS (v. 8.1)", "product": { "name": "Red Hat Enterprise Linux BaseOS EUS (v. 8.1)", "product_id": "BaseOS-8.1.0.Z.EUS", "product_identification_helper": { "cpe": "cpe:/o:redhat:rhel_eus:8.1::baseos" } } } ], "category": "product_family", "name": "Red Hat Enterprise Linux" }, { "branches": [ { "category": "product_version", "name": "sudo-0:1.8.25p1-8.el8_1.2.src", "product": { "name": "sudo-0:1.8.25p1-8.el8_1.2.src", "product_id": "sudo-0:1.8.25p1-8.el8_1.2.src", "product_identification_helper": { "purl": "pkg:rpm/redhat/sudo@1.8.25p1-8.el8_1.2?arch=src" } } } ], "category": "architecture", "name": "src" }, { "branches": [ { "category": "product_version", "name": "sudo-0:1.8.25p1-8.el8_1.2.aarch64", "product": { "name": "sudo-0:1.8.25p1-8.el8_1.2.aarch64", "product_id": "sudo-0:1.8.25p1-8.el8_1.2.aarch64", "product_identification_helper": { "purl": "pkg:rpm/redhat/sudo@1.8.25p1-8.el8_1.2?arch=aarch64" } } }, { "category": "product_version", "name": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.aarch64", "product": { "name": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.aarch64", "product_id": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.aarch64", "product_identification_helper": { "purl": "pkg:rpm/redhat/sudo-debugsource@1.8.25p1-8.el8_1.2?arch=aarch64" } } }, { "category": "product_version", "name": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.aarch64", "product": { "name": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.aarch64", "product_id": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.aarch64", "product_identification_helper": { "purl": "pkg:rpm/redhat/sudo-debuginfo@1.8.25p1-8.el8_1.2?arch=aarch64" } } } ], "category": "architecture", "name": "aarch64" }, { "branches": [ { "category": "product_version", "name": "sudo-0:1.8.25p1-8.el8_1.2.ppc64le", "product": { "name": "sudo-0:1.8.25p1-8.el8_1.2.ppc64le", "product_id": "sudo-0:1.8.25p1-8.el8_1.2.ppc64le", "product_identification_helper": { "purl": "pkg:rpm/redhat/sudo@1.8.25p1-8.el8_1.2?arch=ppc64le" } } }, { "category": "product_version", "name": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.ppc64le", "product": { "name": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.ppc64le", "product_id": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.ppc64le", "product_identification_helper": { "purl": "pkg:rpm/redhat/sudo-debugsource@1.8.25p1-8.el8_1.2?arch=ppc64le" } } }, { "category": "product_version", "name": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.ppc64le", "product": { "name": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.ppc64le", "product_id": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.ppc64le", "product_identification_helper": { "purl": "pkg:rpm/redhat/sudo-debuginfo@1.8.25p1-8.el8_1.2?arch=ppc64le" } } } ], "category": "architecture", "name": "ppc64le" }, { "branches": [ { "category": "product_version", "name": "sudo-0:1.8.25p1-8.el8_1.2.x86_64", "product": { "name": "sudo-0:1.8.25p1-8.el8_1.2.x86_64", "product_id": "sudo-0:1.8.25p1-8.el8_1.2.x86_64", "product_identification_helper": { "purl": "pkg:rpm/redhat/sudo@1.8.25p1-8.el8_1.2?arch=x86_64" } } }, { "category": "product_version", "name": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.x86_64", "product": { "name": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.x86_64", "product_id": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.x86_64", "product_identification_helper": { "purl": "pkg:rpm/redhat/sudo-debugsource@1.8.25p1-8.el8_1.2?arch=x86_64" } } }, { "category": "product_version", "name": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.x86_64", "product": { "name": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.x86_64", "product_id": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.x86_64", "product_identification_helper": { "purl": "pkg:rpm/redhat/sudo-debuginfo@1.8.25p1-8.el8_1.2?arch=x86_64" } } } ], "category": "architecture", "name": "x86_64" }, { "branches": [ { "category": "product_version", "name": "sudo-0:1.8.25p1-8.el8_1.2.s390x", "product": { "name": "sudo-0:1.8.25p1-8.el8_1.2.s390x", "product_id": "sudo-0:1.8.25p1-8.el8_1.2.s390x", "product_identification_helper": { "purl": "pkg:rpm/redhat/sudo@1.8.25p1-8.el8_1.2?arch=s390x" } } }, { "category": "product_version", "name": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.s390x", "product": { "name": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.s390x", "product_id": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.s390x", "product_identification_helper": { "purl": "pkg:rpm/redhat/sudo-debugsource@1.8.25p1-8.el8_1.2?arch=s390x" } } }, { "category": "product_version", "name": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.s390x", "product": { "name": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.s390x", "product_id": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.s390x", "product_identification_helper": { "purl": "pkg:rpm/redhat/sudo-debuginfo@1.8.25p1-8.el8_1.2?arch=s390x" } } } ], "category": "architecture", "name": "s390x" } ], "category": "vendor", "name": "Red Hat" } ], "relationships": [ { "category": "default_component_of", "full_product_name": { "name": "sudo-0:1.8.25p1-8.el8_1.2.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)", "product_id": "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.aarch64" }, "product_reference": "sudo-0:1.8.25p1-8.el8_1.2.aarch64", "relates_to_product_reference": "BaseOS-8.1.0.Z.EUS" }, { "category": "default_component_of", "full_product_name": { "name": "sudo-0:1.8.25p1-8.el8_1.2.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)", "product_id": "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.ppc64le" }, "product_reference": "sudo-0:1.8.25p1-8.el8_1.2.ppc64le", "relates_to_product_reference": "BaseOS-8.1.0.Z.EUS" }, { "category": "default_component_of", "full_product_name": { "name": "sudo-0:1.8.25p1-8.el8_1.2.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)", "product_id": "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.s390x" }, "product_reference": "sudo-0:1.8.25p1-8.el8_1.2.s390x", "relates_to_product_reference": "BaseOS-8.1.0.Z.EUS" }, { "category": "default_component_of", "full_product_name": { "name": "sudo-0:1.8.25p1-8.el8_1.2.src as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)", "product_id": "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.src" }, "product_reference": "sudo-0:1.8.25p1-8.el8_1.2.src", "relates_to_product_reference": "BaseOS-8.1.0.Z.EUS" }, { "category": "default_component_of", "full_product_name": { "name": "sudo-0:1.8.25p1-8.el8_1.2.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)", "product_id": "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.x86_64" }, "product_reference": "sudo-0:1.8.25p1-8.el8_1.2.x86_64", "relates_to_product_reference": "BaseOS-8.1.0.Z.EUS" }, { "category": "default_component_of", "full_product_name": { "name": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)", "product_id": "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.aarch64" }, "product_reference": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.aarch64", "relates_to_product_reference": "BaseOS-8.1.0.Z.EUS" }, { "category": "default_component_of", "full_product_name": { "name": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)", "product_id": "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.ppc64le" }, "product_reference": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.ppc64le", "relates_to_product_reference": "BaseOS-8.1.0.Z.EUS" }, { "category": "default_component_of", "full_product_name": { "name": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)", "product_id": "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.s390x" }, "product_reference": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.s390x", "relates_to_product_reference": "BaseOS-8.1.0.Z.EUS" }, { "category": "default_component_of", "full_product_name": { "name": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)", "product_id": "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.x86_64" }, "product_reference": "sudo-debuginfo-0:1.8.25p1-8.el8_1.2.x86_64", "relates_to_product_reference": "BaseOS-8.1.0.Z.EUS" }, { "category": "default_component_of", "full_product_name": { "name": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.aarch64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)", "product_id": "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.aarch64" }, "product_reference": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.aarch64", "relates_to_product_reference": "BaseOS-8.1.0.Z.EUS" }, { "category": "default_component_of", "full_product_name": { "name": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.ppc64le as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)", "product_id": "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.ppc64le" }, "product_reference": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.ppc64le", "relates_to_product_reference": "BaseOS-8.1.0.Z.EUS" }, { "category": "default_component_of", "full_product_name": { "name": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.s390x as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)", "product_id": "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.s390x" }, "product_reference": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.s390x", "relates_to_product_reference": "BaseOS-8.1.0.Z.EUS" }, { "category": "default_component_of", "full_product_name": { "name": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.x86_64 as a component of Red Hat Enterprise Linux BaseOS EUS (v. 8.1)", "product_id": "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.x86_64" }, "product_reference": "sudo-debugsource-0:1.8.25p1-8.el8_1.2.x86_64", "relates_to_product_reference": "BaseOS-8.1.0.Z.EUS" } ] }, "vulnerabilities": [ { "cve": "CVE-2021-3156", "cwe": { "id": "CWE-122", "name": "Heap-based Buffer Overflow" }, "discovery_date": "2021-01-19T00:00:00+00:00", "ids": [ { "system_name": "Red Hat Bugzilla ID", "text": "1917684" } ], "notes": [ { "category": "description", "text": "A flaw was found in sudo. A heap-based buffer overflow was found in the way sudo parses command line arguments. This flaw is exploitable by any local user who can execute the sudo command (by default, any local user can execute sudo) without authentication. Successful exploitation of this flaw could lead to privilege escalation. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.", "title": "Vulnerability description" }, { "category": "summary", "text": "sudo: Heap buffer overflow in argument parsing", "title": "Vulnerability summary" }, { "category": "other", "text": "This flaw does not affect the versions of sudo shipped with Red Hat Enterprise Linux 5, because the vulnerable code was not present in these versions.", "title": "Statement" }, { "category": "general", "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.", "title": "CVSS score applicability" } ], "product_status": { "fixed": [ "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.aarch64", "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.ppc64le", "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.s390x", "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.src", "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.x86_64", "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.aarch64", "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.ppc64le", "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.s390x", "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.x86_64", "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.aarch64", "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.ppc64le", "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.s390x", "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.x86_64" ] }, "references": [ { "category": "self", "summary": "Canonical URL", "url": "https://access.redhat.com/security/cve/CVE-2021-3156" }, { "category": "external", "summary": "RHBZ#1917684", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1917684" }, { "category": "external", "summary": "RHSB-2021-002", "url": "https://access.redhat.com/security/vulnerabilities/RHSB-2021-002" }, { "category": "external", "summary": "https://www.cve.org/CVERecord?id=CVE-2021-3156", "url": "https://www.cve.org/CVERecord?id=CVE-2021-3156" }, { "category": "external", "summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-3156", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3156" }, { "category": "external", "summary": "https://www.qualys.com/2021/01/26/cve-2021-3156/baron-samedit-heap-based-overflow-sudo.txt", "url": "https://www.qualys.com/2021/01/26/cve-2021-3156/baron-samedit-heap-based-overflow-sudo.txt" }, { "category": "external", "summary": "https://www.sudo.ws/alerts/unescape_overflow.html", "url": "https://www.sudo.ws/alerts/unescape_overflow.html" }, { "category": "external", "summary": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog" } ], "release_date": "2021-01-26T18:00:00+00:00", "remediations": [ { "category": "vendor_fix", "date": "2021-01-26T19:36:08+00:00", "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258", "product_ids": [ "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.aarch64", "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.ppc64le", "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.s390x", "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.src", "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.x86_64", "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.aarch64", "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.ppc64le", "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.s390x", "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.x86_64", "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.aarch64", "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.ppc64le", "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.s390x", "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.x86_64" ], "restart_required": { "category": "none" }, "url": "https://access.redhat.com/errata/RHSA-2021:0220" }, { "category": "workaround", "details": "Red Hat Product Security strongly recommends customers to update to fixed sudo packages once they are available. For customers who cannot update immediately, the following interim partial mitigation using systemtap is suggested:\n\n1. Install required systemtap packages and dependencies: \n```\nsystemtap yum-utils kernel-devel-\"$(uname -r)\"\n```\n\nThen for RHEL 7 install kernel debuginfo, using:\n```\ndebuginfo-install -y kernel-\"$(uname -r)\" \n```\nThen for RHEL 8 \u0026 6 install sudo debuginfo, using:\n```\ndebuginfo-install sudo\n```\n \n2. Create the following systemtap script: (call the file as sudoedit-block.stap)\n```\nprobe process(\"/usr/bin/sudo\").function(\"main\") {\n command = cmdline_args(0,0,\"\");\n if (isinstr(command, \"edit\")) {\n raise(9);\n }\n}\n```\n3. Install the script using the following command: (using root)\n```\n# nohup stap -g sudoedit-block.stap \u0026\n```\n(This should output the PID number of the systemtap script)\n\nThis script will cause the vulnerable sudoedit binary to stop working. The sudo command will still work as usual.\nThe above change does not persist across reboots and must be applied after each reboot.\n\nPlease consult How to make a systemtap kernel module load persistently across reboots? (https://access.redhat.com/solutions/5752521) to learn how to\nturn this into a service managed by initd. \n\n4. Once the new fixed packages are installed, the systemtap script can be removed by killing the systemtap process. For example, by using:\n```\n# kill -s SIGTERM 7590\n```\n(where 7590 is the PID of the systemtap process)", "product_ids": [ "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.aarch64", "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.ppc64le", "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.s390x", "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.src", "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.x86_64", "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.aarch64", "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.ppc64le", "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.s390x", "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.x86_64", "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.aarch64", "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.ppc64le", "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.s390x", "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.x86_64" ] } ], "scores": [ { "cvss_v3": { "attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "HIGH", "baseScore": 7.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" }, "products": [ "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.aarch64", "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.ppc64le", "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.s390x", "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.src", "BaseOS-8.1.0.Z.EUS:sudo-0:1.8.25p1-8.el8_1.2.x86_64", "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.aarch64", "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.ppc64le", "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.s390x", "BaseOS-8.1.0.Z.EUS:sudo-debuginfo-0:1.8.25p1-8.el8_1.2.x86_64", "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.aarch64", "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.ppc64le", "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.s390x", "BaseOS-8.1.0.Z.EUS:sudo-debugsource-0:1.8.25p1-8.el8_1.2.x86_64" ] } ], "threats": [ { "category": "exploit_status", "date": "2022-04-06T00:00:00+00:00", "details": "CISA: https://www.cisa.gov/known-exploited-vulnerabilities-catalog" }, { "category": "impact", "details": "Important" } ], "title": "sudo: Heap buffer overflow in argument parsing" } ] }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.