CVE-2021-4001
CVSS V2 Medium 4.7
CVSS V3 Medium 4.1
Description
A race condition was found in the Linux kernel's ebpf verifier between bpf_map_update_elem and bpf_map_freeze due to a missing lock in kernel/bpf/syscall.c. In this flaw, a local user with a special privilege (cap_sys_admin or cap_bpf) can modify the frozen mapped address space. This flaw affects kernel versions prior to 5.16 rc2.
Overview
- CVE ID
- CVE-2021-4001
- Assigner
- secalert@redhat.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-01-21T19:15:09
- Last Modified Date
- 2022-11-16T03:36:38
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 1 | OR | 5.15 | |
cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:M/Au:N/C:N/I:C/A:N
- Access Vector
- LOCAL
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- COMPLETE
- Availability Impact
- NONE
- Base Score
- 4.7
- Severity
- MEDIUM
- Exploitability Score
- 3.4
- Impact Score
- 6.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:N
- Attack Vector
- LOCAL
- Attack Compatibility
- HIGH
- Privileges Required
- HIGH
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 4.1
- Base Severity
- MEDIUM
- Exploitability Score
- 0.5
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=2025645 | Issue Tracking Patch Third Party Advisory |
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=353050be4c19e102178ccc05988101887c25ae53 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-4001 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4001 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:35:55 | Added to TrackCVE | |||
2022-12-06 07:26:08 | 2022-01-21T19:15Z | 2022-01-21T19:15:09 | CVE Published Date | updated |
2022-12-06 07:26:08 | 2022-11-16T03:36:38 | CVE Modified Date | updated | |
2022-12-06 07:26:08 | Analyzed | Vulnerability Status | updated |