CVE-2021-20194
CVSS V2 Medium 4.6
CVSS V3 High 7.8
Description
There is a vulnerability in the linux kernel versions higher than 5.2 (if kernel compiled with config params CONFIG_BPF_SYSCALL=y , CONFIG_BPF=y , CONFIG_CGROUPS=y , CONFIG_CGROUP_BPF=y , CONFIG_HARDENED_USERCOPY not set, and BPF hook to getsockopt is registered). As result of BPF execution, the local user can trigger bug in __cgroup_bpf_run_filter_getsockopt() function that can lead to heap overflow (because of non-hardened usercopy). The impact of attack could be deny of service or possibly privileges escalation.
Overview
- CVE ID
- CVE-2021-20194
- Assigner
- secalert@redhat.com
- Vulnerability Status
- Modified
- Published Version
- 2021-02-23T23:15:13
- Last Modified Date
- 2023-02-12T22:15:16
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:redhat:openshift_container_platform:4.4:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:redhat:openshift_container_platform:4.5:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:redhat:openshift_container_platform:4.6:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- LOCAL
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 4.6
- Severity
- MEDIUM
- Exploitability Score
- 3.9
- 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://access.redhat.com/errata/RHSA-2021:4140 | |
https://access.redhat.com/errata/RHSA-2021:4356 | |
https://access.redhat.com/security/cve/CVE-2021-20194 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1912683 | Issue Tracking Patch Third Party Advisory |
https://security.netapp.com/advisory/ntap-20210326-0003/ | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-20194 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20194 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:17:40 | Added to TrackCVE | |||
2022-12-05 22:40:50 | 2021-02-23T23:15Z | 2021-02-23T23:15:13 | CVE Published Date | updated |
2022-12-05 22:40:50 | 2022-08-05T18:07:08 | CVE Modified Date | updated | |
2022-12-05 22:40:50 | Analyzed | Vulnerability Status | updated | |
2023-02-02 23:11:36 | 2023-02-02T21:20:49 | CVE Modified Date | updated | |
2023-02-02 23:11:36 | Analyzed | Modified | Vulnerability Status | updated |
2023-02-02 23:11:36 | There is a vulnerability in the linux kernel versions higher than 5.2 (if kernel compiled with config params CONFIG_BPF_SYSCALL=y , CONFIG_BPF=y , CONFIG_CGROUPS=y , CONFIG_CGROUP_BPF=y , CONFIG_HARDENED_USERCOPY not set, and BPF hook to getsockopt is registered). As result of BPF execution, the local user can trigger bug in __cgroup_bpf_run_filter_getsockopt() function that can lead to heap overflow (because of non-hardened usercopy). The impact of attack could be deny of service or possibly privileges escalation. | A flaw buffer overflow in the Linux kernel BPF subsystem was found in the way user running BPF script calling getsockopt. A local user could use this flaw to crash the system or possibly escalate their privileges on the system. | Description | updated |
2023-02-02 23:11:37 | References | updated | ||
2023-02-12 23:11:29 | 2023-02-12T22:15:16 | CVE Modified Date | updated | |
2023-02-12 23:11:29 | Weakness Enumeration | update | ||
2023-02-12 23:11:29 | A flaw buffer overflow in the Linux kernel BPF subsystem was found in the way user running BPF script calling getsockopt. A local user could use this flaw to crash the system or possibly escalate their privileges on the system. | There is a vulnerability in the linux kernel versions higher than 5.2 (if kernel compiled with config params CONFIG_BPF_SYSCALL=y , CONFIG_BPF=y , CONFIG_CGROUPS=y , CONFIG_CGROUP_BPF=y , CONFIG_HARDENED_USERCOPY not set, and BPF hook to getsockopt is registered). As result of BPF execution, the local user can trigger bug in __cgroup_bpf_run_filter_getsockopt() function that can lead to heap overflow (because of non-hardened usercopy). The impact of attack could be deny of service or possibly privileges escalation. | Description | updated |