CVE-2021-20177: Medium severity Linux Linux kernel vulnerability
A flaw was found in the Linux kernel's implementation of string matching within a packet. A privileged user (with root or CAPNETADMIN) when inserting iptables rules could insert a rule which can panic the system. Kernel before kernel 5.5-rc1 is affected.
Other sources
A flaw was found in the Linux kernels implementation of string matching within a packet. A privileged user ( with root or CAPNETADMIN ) when inserting iptables rules could insert a rule which can panic the system.
This could lead to a denial of service or possibly worse. Further investigation is ongoing.
Upstream patch: https://github.com/torvalds/linux/commit/ca58fbe06c54
Upstream bugzilla: https://bugzilla.kernel.org/showbug.cgi?id=209823
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 5.5 - Upgrade
Upgrade
ubuntu/linux-aws-5.4to a version that resolves this vulnerability.Fixed in 5.4.0-1038.40~18.04.1 - Upgrade
Upgrade
ubuntu/linux-azure-5.4to a version that resolves this vulnerability.Fixed in 5.4.0-1040.42~18.04.1 - Upgrade
Upgrade
ubuntu/linux-gcp-5.4to a version that resolves this vulnerability.Fixed in 5.4.0-1037.40~18.04.1 - Upgrade
Upgrade
ubuntu/linux-gke-5.4to a version that resolves this vulnerability.Fixed in 5.4.0-1036.38~18.04.1 - Upgrade
Upgrade
ubuntu/linux-gkeop-5.4to a version that resolves this vulnerability.Fixed in 5.4.0-1010.11~18.04.1 - Upgrade
Upgrade
ubuntu/linux-hwe-5.4to a version that resolves this vulnerability.Fixed in 5.4.0-66.74~18.04.2 - Upgrade
Upgrade
ubuntu/linux-oracle-5.4to a version that resolves this vulnerability.Fixed in 5.4.0-1038.41~18.04.1 - Upgrade
Upgrade
ubuntu/linux-raspi-5.4to a version that resolves this vulnerability.Fixed in 5.4.0-1029.32~18.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 5.4.0-66.74 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 5.4.0-1038.40 - Upgrade
Upgrade
ubuntu/linux-azureto a version that resolves this vulnerability.Fixed in 5.4.0-1040.42 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 5.4.0-1037.40 - Upgrade
Upgrade
ubuntu/linux-gketo a version that resolves this vulnerability.Fixed in 5.4.0-1036.38 - Upgrade
Upgrade
ubuntu/linux-gkeopto a version that resolves this vulnerability.Fixed in 5.4.0-1010.11 - Upgrade
Upgrade
ubuntu/linux-kvmto a version that resolves this vulnerability.Fixed in 5.4.0-1033.34 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 5.4.0-1038.41 - Upgrade
Upgrade
ubuntu/linux-raspito a version that resolves this vulnerability.Fixed in 5.4.0-1029.32 - Upgrade
Upgrade
ubuntu/linux-aws-fipsto a version that resolves this vulnerability.Fixed in 5.4.0-1069.73+fips2 - Upgrade
Upgrade
ubuntu/linux-azure-fipsto a version that resolves this vulnerability.Fixed in 5.4.0-1073.76+fips1 - Upgrade
Upgrade
ubuntu/linux-gcp-fipsto a version that resolves this vulnerability.Fixed in 5.4.0-1067.71~20.04.1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 4.19.171-2Fixed in 5.5.13-1 - Upgrade
Upgrade
debian/linux-4.19to a version that resolves this vulnerability.Fixed in 4.19.171-2~deb9u1 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Fixed in 5.5-rc1
Event History
Frequently Asked Questions
What is the severity of CVE-2021-20177?
CVE-2021-20177 is classified as a high-severity vulnerability affecting the Linux kernel.
How do I fix CVE-2021-20177?
To mitigate CVE-2021-20177, update the Linux kernel to version 5.5 or higher.
What systems are affected by CVE-2021-20177?
CVE-2021-20177 affects Linux kernel versions prior to 5.5-rc1, including certain configurations of Red Hat and Debian.
Who can exploit CVE-2021-20177?
CVE-2021-20177 can be exploited by privileged users with root or CAP_NET_ADMIN permissions.
What is the impact of exploiting CVE-2021-20177?
Exploiting CVE-2021-20177 can lead to a system panic, causing the system to become unresponsive.