CVE-2021-23240
CVSS V2 Medium 4.4
CVSS V3 High 7.8
Description
selinux_edit_copy_tfiles in sudoedit in Sudo before 1.9.5 allows a local unprivileged user to gain file ownership and escalate privileges by replacing a temporary file with a symlink to an arbitrary file target. This affects SELinux RBAC support in permissive mode. Machines without SELinux are not vulnerable.
Overview
- CVE ID
- CVE-2021-23240
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2021-01-12T09:15:14
- Last Modified Date
- 2021-09-13T19:48:32
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:* | 1 | OR | 1.8.32 | |
cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:* | 1 | OR | 1.9.0 | 1.9.5 |
cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- LOCAL
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 4.4
- Severity
- MEDIUM
- Exploitability Score
- 3.4
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 7.8
- Base Severity
- HIGH
- Exploitability Score
- 1.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2021-23240 | Exploit Issue Tracking Patch Third Party Advisory |
https://www.sudo.ws/stable.html#1.9.5 | Release Notes Vendor Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EE42Y35SMJOLONAIBNYNFC7J44UUZ2Y6/ | Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GMY4VSSBIND7VAYSN6T7XIWJRWG4GBB3/ | Third Party Advisory |
https://security.gentoo.org/glsa/202101-33 | Third Party Advisory |
https://security.netapp.com/advisory/ntap-20210129-0010/ | Third Party Advisory |
https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E | Mailing List Third Party Advisory |
https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E | Mailing List Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-23240 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23240 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:05:49 | Added to TrackCVE | |||
2022-12-05 19:47:05 | 2021-01-12T09:15Z | 2021-01-12T09:15:14 | CVE Published Date | updated |
2022-12-05 19:47:05 | 2021-09-13T19:48:32 | CVE Modified Date | updated | |
2022-12-05 19:47:05 | Analyzed | Vulnerability Status | updated |