RHSA-2021:1723
Vulnerability from csaf_redhat - Published: 2021-05-18 13:45 - Updated: 2026-11-26 16:03A flaw was found in sudoedit. A race condition vulnerability and improper symbolic link resolution could be used by a local unprivileged user to test for the existence of directories and files not normally accessible to the user. This flaw cannot be used to read the content or write to arbitrary files on the file system. The highest threat from this vulnerability is to data confidentiality.
CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.ppc64le | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.s390x | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.x86_64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.ppc64le | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.s390x | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.x86_64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.ppc64le | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.s390x | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.x86_64 | — |
Vendor Fix
fix
Workaround
|
A race condition vulnerability was found in the temporary file handling of sudoedit's SELinux RBAC support. On systems where SELinux is enabled, this flaw allows a malicious user with sudoedit permissions to set the owner of an arbitrary file to the user ID of the target user, potentially leading to local privilege escalation. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Low"
},
"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.\n\nRed Hat Product Security has rated this update as having a security impact of Low. 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: symbolic link attack in SELinux-enabled sudoedit (CVE-2021-23240)\n\n* sudo: possible directory existence test due to race condition in sudoedit (CVE-2021-23239)\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.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Red Hat Enterprise Linux 8.4 Release Notes linked from 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:1723",
"url": "https://access.redhat.com/errata/RHSA-2021:1723"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#low",
"url": "https://access.redhat.com/security/updates/classification/#low"
},
{
"category": "external",
"summary": "https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes/",
"url": "https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes/"
},
{
"category": "external",
"summary": "1915052",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1915052"
},
{
"category": "external",
"summary": "1915053",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1915053"
},
{
"category": "external",
"summary": "1923825",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1923825"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_1723.json"
}
],
"title": "Red Hat Security Advisory: sudo security and bug fix update",
"tracking": {
"current_release_date": "2026-11-26T16:03:26+00:00",
"generator": {
"date": "2026-11-26T16:03:26+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "5.4.9"
}
},
"id": "RHSA-2021:1723",
"initial_release_date": "2021-05-18T13:45:03+00:00",
"revision_history": [
{
"date": "2021-05-18T13:45:03+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2021-05-18T13:45:03+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-11-26T16:03:26+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 (v. 8)",
"product": {
"name": "Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.4.0.GA",
"product_identification_helper": {
"cpe": "cpe:/o:redhat:enterprise_linux:8::baseos"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux"
},
{
"branches": [
{
"category": "product_version",
"name": "sudo-0:1.8.29-7.el8.src",
"product": {
"name": "sudo-0:1.8.29-7.el8.src",
"product_id": "sudo-0:1.8.29-7.el8.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/sudo@1.8.29-7.el8?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "sudo-0:1.8.29-7.el8.aarch64",
"product": {
"name": "sudo-0:1.8.29-7.el8.aarch64",
"product_id": "sudo-0:1.8.29-7.el8.aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/sudo@1.8.29-7.el8?arch=aarch64"
}
}
},
{
"category": "product_version",
"name": "sudo-debugsource-0:1.8.29-7.el8.aarch64",
"product": {
"name": "sudo-debugsource-0:1.8.29-7.el8.aarch64",
"product_id": "sudo-debugsource-0:1.8.29-7.el8.aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/sudo-debugsource@1.8.29-7.el8?arch=aarch64"
}
}
},
{
"category": "product_version",
"name": "sudo-debuginfo-0:1.8.29-7.el8.aarch64",
"product": {
"name": "sudo-debuginfo-0:1.8.29-7.el8.aarch64",
"product_id": "sudo-debuginfo-0:1.8.29-7.el8.aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/sudo-debuginfo@1.8.29-7.el8?arch=aarch64"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "sudo-0:1.8.29-7.el8.ppc64le",
"product": {
"name": "sudo-0:1.8.29-7.el8.ppc64le",
"product_id": "sudo-0:1.8.29-7.el8.ppc64le",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/sudo@1.8.29-7.el8?arch=ppc64le"
}
}
},
{
"category": "product_version",
"name": "sudo-debugsource-0:1.8.29-7.el8.ppc64le",
"product": {
"name": "sudo-debugsource-0:1.8.29-7.el8.ppc64le",
"product_id": "sudo-debugsource-0:1.8.29-7.el8.ppc64le",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/sudo-debugsource@1.8.29-7.el8?arch=ppc64le"
}
}
},
{
"category": "product_version",
"name": "sudo-debuginfo-0:1.8.29-7.el8.ppc64le",
"product": {
"name": "sudo-debuginfo-0:1.8.29-7.el8.ppc64le",
"product_id": "sudo-debuginfo-0:1.8.29-7.el8.ppc64le",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/sudo-debuginfo@1.8.29-7.el8?arch=ppc64le"
}
}
}
],
"category": "architecture",
"name": "ppc64le"
},
{
"branches": [
{
"category": "product_version",
"name": "sudo-0:1.8.29-7.el8.x86_64",
"product": {
"name": "sudo-0:1.8.29-7.el8.x86_64",
"product_id": "sudo-0:1.8.29-7.el8.x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/sudo@1.8.29-7.el8?arch=x86_64"
}
}
},
{
"category": "product_version",
"name": "sudo-debugsource-0:1.8.29-7.el8.x86_64",
"product": {
"name": "sudo-debugsource-0:1.8.29-7.el8.x86_64",
"product_id": "sudo-debugsource-0:1.8.29-7.el8.x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/sudo-debugsource@1.8.29-7.el8?arch=x86_64"
}
}
},
{
"category": "product_version",
"name": "sudo-debuginfo-0:1.8.29-7.el8.x86_64",
"product": {
"name": "sudo-debuginfo-0:1.8.29-7.el8.x86_64",
"product_id": "sudo-debuginfo-0:1.8.29-7.el8.x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/sudo-debuginfo@1.8.29-7.el8?arch=x86_64"
}
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_version",
"name": "sudo-0:1.8.29-7.el8.s390x",
"product": {
"name": "sudo-0:1.8.29-7.el8.s390x",
"product_id": "sudo-0:1.8.29-7.el8.s390x",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/sudo@1.8.29-7.el8?arch=s390x"
}
}
},
{
"category": "product_version",
"name": "sudo-debugsource-0:1.8.29-7.el8.s390x",
"product": {
"name": "sudo-debugsource-0:1.8.29-7.el8.s390x",
"product_id": "sudo-debugsource-0:1.8.29-7.el8.s390x",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/sudo-debugsource@1.8.29-7.el8?arch=s390x"
}
}
},
{
"category": "product_version",
"name": "sudo-debuginfo-0:1.8.29-7.el8.s390x",
"product": {
"name": "sudo-debuginfo-0:1.8.29-7.el8.s390x",
"product_id": "sudo-debuginfo-0:1.8.29-7.el8.s390x",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/sudo-debuginfo@1.8.29-7.el8?arch=s390x"
}
}
}
],
"category": "architecture",
"name": "s390x"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-0:1.8.29-7.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.aarch64"
},
"product_reference": "sudo-0:1.8.29-7.el8.aarch64",
"relates_to_product_reference": "BaseOS-8.4.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-0:1.8.29-7.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.ppc64le"
},
"product_reference": "sudo-0:1.8.29-7.el8.ppc64le",
"relates_to_product_reference": "BaseOS-8.4.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-0:1.8.29-7.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.s390x"
},
"product_reference": "sudo-0:1.8.29-7.el8.s390x",
"relates_to_product_reference": "BaseOS-8.4.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-0:1.8.29-7.el8.src as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.src"
},
"product_reference": "sudo-0:1.8.29-7.el8.src",
"relates_to_product_reference": "BaseOS-8.4.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-0:1.8.29-7.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.x86_64"
},
"product_reference": "sudo-0:1.8.29-7.el8.x86_64",
"relates_to_product_reference": "BaseOS-8.4.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-debuginfo-0:1.8.29-7.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.aarch64"
},
"product_reference": "sudo-debuginfo-0:1.8.29-7.el8.aarch64",
"relates_to_product_reference": "BaseOS-8.4.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-debuginfo-0:1.8.29-7.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.ppc64le"
},
"product_reference": "sudo-debuginfo-0:1.8.29-7.el8.ppc64le",
"relates_to_product_reference": "BaseOS-8.4.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-debuginfo-0:1.8.29-7.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.s390x"
},
"product_reference": "sudo-debuginfo-0:1.8.29-7.el8.s390x",
"relates_to_product_reference": "BaseOS-8.4.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-debuginfo-0:1.8.29-7.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.x86_64"
},
"product_reference": "sudo-debuginfo-0:1.8.29-7.el8.x86_64",
"relates_to_product_reference": "BaseOS-8.4.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-debugsource-0:1.8.29-7.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.aarch64"
},
"product_reference": "sudo-debugsource-0:1.8.29-7.el8.aarch64",
"relates_to_product_reference": "BaseOS-8.4.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-debugsource-0:1.8.29-7.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.ppc64le"
},
"product_reference": "sudo-debugsource-0:1.8.29-7.el8.ppc64le",
"relates_to_product_reference": "BaseOS-8.4.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-debugsource-0:1.8.29-7.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.s390x"
},
"product_reference": "sudo-debugsource-0:1.8.29-7.el8.s390x",
"relates_to_product_reference": "BaseOS-8.4.0.GA"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "sudo-debugsource-0:1.8.29-7.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
"product_id": "BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.x86_64"
},
"product_reference": "sudo-debugsource-0:1.8.29-7.el8.x86_64",
"relates_to_product_reference": "BaseOS-8.4.0.GA"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2021-23239",
"cwe": {
"id": "CWE-367",
"name": "Time-of-check Time-of-use (TOCTOU) Race Condition"
},
"discovery_date": "2021-01-11T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "1915052"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in sudoedit. A race condition vulnerability and improper symbolic link resolution could be used by a local unprivileged user to test for the existence of directories and files not normally accessible to the user. This flaw cannot be used to read the content or write to arbitrary files on the file system. The highest threat from this vulnerability is to data confidentiality.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "sudo: possible directory existence test due to race condition in sudoedit",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "This flaw has been rated as having a security impact of Low. The symbolic link protection is enabled by default in Red Hat Enterprise Linux 7 and 8, preventing this issue from being exploited.",
"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.4.0.GA:sudo-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.src",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.x86_64",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.x86_64",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2021-23239"
},
{
"category": "external",
"summary": "RHBZ#1915052",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1915052"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2021-23239",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-23239"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-23239",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23239"
},
{
"category": "external",
"summary": "https://www.sudo.ws/stable.html#1.9.5",
"url": "https://www.sudo.ws/stable.html#1.9.5"
}
],
"release_date": "2021-01-11T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2021-05-18T13:45:03+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.4.0.GA:sudo-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.src",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.x86_64",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.x86_64",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2021:1723"
},
{
"category": "workaround",
"details": "Enabling the symbolic link protection (/proc/sys/fs/protected_symlinks set to 1) is sufficient to mitigate this flaw.",
"product_ids": [
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.src",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.x86_64",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.x86_64",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 2.5,
"baseSeverity": "LOW",
"confidentialityImpact": "LOW",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N",
"version": "3.1"
},
"products": [
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.src",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.x86_64",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.x86_64",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Low"
}
],
"title": "sudo: possible directory existence test due to race condition in sudoedit"
},
{
"cve": "CVE-2021-23240",
"cwe": {
"id": "CWE-367",
"name": "Time-of-check Time-of-use (TOCTOU) Race Condition"
},
"discovery_date": "2021-01-11T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "1915053"
}
],
"notes": [
{
"category": "description",
"text": "A race condition vulnerability was found in the temporary file handling of sudoedit\u0027s SELinux RBAC support. On systems where SELinux is enabled, this flaw allows a malicious user with sudoedit permissions to set the owner of an arbitrary file to the user ID of the target user, potentially leading to local privilege escalation. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "sudo: symbolic link attack in SELinux-enabled sudoedit",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "SELinux enforcing mode is the default and recommended mode of operation in Red Hat Enterprise Linux. Moreover, the symbolic link protection is enabled by default, thus preventing this issue from being exploited. Therefore, this flaw has been rated as having a security impact of Low for Red Hat Enterprise Linux.",
"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.4.0.GA:sudo-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.src",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.x86_64",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.x86_64",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2021-23240"
},
{
"category": "external",
"summary": "RHBZ#1915053",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1915053"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2021-23240",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-23240"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-23240",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23240"
},
{
"category": "external",
"summary": "https://www.sudo.ws/alerts/sudoedit_selinux.html",
"url": "https://www.sudo.ws/alerts/sudoedit_selinux.html"
}
],
"release_date": "2021-01-11T00:00:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2021-05-18T13:45:03+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.4.0.GA:sudo-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.src",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.x86_64",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.x86_64",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2021:1723"
},
{
"category": "workaround",
"details": "* Enable SELinux in enforcing mode.\n* Enable the symbolic link protection (/proc/sys/fs/protected_symlinks set to 1).\n* Remove the `sesh` binary (/usr/libexec/sudo/sesh or /usr/lib/sudo/sesh) if SELinux RBAC support is not needed.",
"product_ids": [
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.src",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.x86_64",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.x86_64",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.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.4.0.GA:sudo-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.src",
"BaseOS-8.4.0.GA:sudo-0:1.8.29-7.el8.x86_64",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-debuginfo-0:1.8.29-7.el8.x86_64",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.aarch64",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.ppc64le",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.s390x",
"BaseOS-8.4.0.GA:sudo-debugsource-0:1.8.29-7.el8.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Low"
}
],
"title": "sudo: symbolic link attack in SELinux-enabled sudoedit"
}
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.