CVE-2021-4157
Vulnerability Summary
Timeline
Description
An out of memory bounds write flaw (1 or 2 bytes of memory) in the Linux kernel NFS subsystem was found in the way users use mirroring (replication of files with NFS). A user, having access to the NFS mount, could potentially use this flaw to crash the system or escalate privileges on the system.
CVSS Metrics
- v4.0•HIGH•Score: 7.1CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
- v3.1•HIGH•Score: 8CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.4AV:A/AC:M/Au:S/C:C/I:C/A:C
EPSS Trends
Current EPSS score: 1.58%• Percentile: 74%
Techniques & Countermeasures
- CWE-119•Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Affected Systems
- debian•linux
< 5.10.38-1 | < 5.10.38-1 | < 5.10.38-1 | < 5.10.38-1
- ubuntu•linux
< 4.4.0-224.257 | < 4.15.0-151.157 | < 5.4.0-80.90
- ubuntu•linux-aws
< 4.4.0-1104.109 | < 4.4.0-1140.154 | < 4.15.0-1109.116 | < 5.4.0-1054.57
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
< 5.11.0-1014.15~20.04.1
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1054.57~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-fips
< 4.15.0-2051.53 | all | < 5.4.0-1069.73+fips2
- ubuntu•linux-aws-hwe
< 4.15.0-1109.116~16.04.1
- ubuntu•linux-azure
< 4.15.0-1121.134~14.04.1 | < 4.15.0-1121.134~16.04.1 | all | < 5.4.0-1055.57
- ubuntu•linux-azure-4.15
< 4.15.0-1121.134
- ubuntu•linux-azure-5.11
< 5.11.0-1012.13~20.04.1
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1055.57~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fips
< 4.15.0-2033.37 | all | < 5.4.0-1073.76+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1016.19
- ubuntu•linux-dell300x
< 4.15.0-1027.32
- ubuntu•linux-fips
< 4.4.0-1074.80 | all | < 4.15.0-1066.75 | < 5.4.0-1031.36
- ubuntu•linux-gcp
< 4.15.0-1106.120~16.04.1 | all | < 5.4.0-1049.53
- ubuntu•linux-gcp-4.15
< 4.15.0-1106.120
- ubuntu•linux-gcp-5.11
< 5.11.0-1014.16~20.04.1
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1049.53~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-fips
< 4.15.0-2016.18 | all | < 5.4.0-1067.71~20.04.1
- ubuntu•linux-gke
< 5.4.0-1049.52
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.4
< 5.4.0-1049.52~18.04.1
- ubuntu•linux-gkeop
< 5.4.0-1021.22
- ubuntu•linux-gkeop-5.4
< 5.4.0-1021.22~18.04.1
- ubuntu•linux-hwe
< 4.15.0-151.157~16.04.1 | all
- ubuntu•linux-hwe-5.11
all
- ubuntu•linux-hwe-5.4
< 5.4.0-80.90~18.04.1
- ubuntu•linux-hwe-5.8
all
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-intel-5.13
all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.4.0-1105.114 | < 4.15.0-1097.99 | < 5.4.0-1044.46
- ubuntu•linux-lts-xenial
< 4.4.0-224.257~14.04.1
- ubuntu•linux-oem
all
- ubuntu•linux-oem-5.10
< 5.10.0-1032.33
- ubuntu•linux-oem-5.6
all
- ubuntu•linux-oracle
< 4.15.0-1078.86~16.04.1 | < 4.15.0-1078.86 | < 5.4.0-1052.56
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-oracle-5.11
< 5.11.0-1013.14~20.04.1
- ubuntu•linux-oracle-5.3
all
- ubuntu•linux-oracle-5.4
< 5.4.0-1052.56~18.04.1
Showing first 50 affected entries in server-rendered view.
References (9)
- https://bugzilla.redhat.com/show_bug.cgi?id=2034342
- https://lore.kernel.org/lkml/20210517140244.822185482%40linuxfoundation.org/
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://security.netapp.com/advisory/ntap-20220602-0007/
- https://ubuntu.com/security/CVE-2021-4157
- https://git.kernel.org/linus/ed34695e15aba74f45247f1ee2cf7e09d449f925
- https://ubuntu.com/security/notices/USN-5413-1
- https://www.cve.org/CVERecord?id=CVE-2021-4157
- https://security-tracker.debian.org/tracker/CVE-2021-4157