cve.bz

CVE-2021-20177 linux linux kernel: Out-of-bounds Read

4.4 mediumEPSS 0.3%Fix available

Medium (4.4) in linux linux kernel. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in the Linux kernel's implementation of string matching within a packet. A privileged user (with root or CAP_NET_ADMIN) when inserting iptables rules could insert a rule which can panic the system. Kernel before kernel 5.5-rc1 is affected.

Severity

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 21st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-20177 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-20177?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-20177?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-20177 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelthrough 5.4.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux-4.194.19.171-2~deb9u1DLA-2557-1
Debian10linux4.19.171-2DSA-4843-1
Debian12, 13, 14linux5.5.13-1DEBIAN-CVE-2021-20177
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-20177
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1038.40~18.04.1UBUNTU-CVE-2021-20177 USN-4750-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1040.42~18.04.1UBUNTU-CVE-2021-20177 USN-4750-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 10 moreno fix listedUBUNTU-CVE-2021-20177
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1037.40~18.04.1UBUNTU-CVE-2021-20177 USN-4750-1
Ubuntu18.04:LTSlinux-gke-5.45.4.0-1036.38~18.04.1UBUNTU-CVE-2021-20177 USN-4750-1
Ubuntu18.04:LTSlinux-gkeop-5.45.4.0-1010.11~18.04.1UBUNTU-CVE-2021-20177 USN-4750-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-66.74~18.04.2UBUNTU-CVE-2021-20177 USN-4750-1
Ubuntu18.04:LTSlinux-oracle-5.45.4.0-1038.41~18.04.1UBUNTU-CVE-2021-20177 USN-4750-1
Ubuntu18.04:LTSlinux-raspi-5.45.4.0-1029.32~18.04.1UBUNTU-CVE-2021-20177 USN-4750-1
Ubuntu20.04:LTSlinux5.4.0-66.74UBUNTU-CVE-2021-20177 USN-4750-1
Ubuntu20.04:LTSlinux-aws5.4.0-1038.40UBUNTU-CVE-2021-20177 USN-4750-1
14 more for Ubuntu in the JSON and on Ubuntu's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 4 morekernel-docs, kernel-syms, kernel-source and 2 more4.12.14-197.83.1SUSE-SU-2021:0532-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.60.1SUSE-SU-2021:0353-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-197.83.1SUSE-SU-2021:0532-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Module for Legacy 15 SP2 and 1 morekernel-default5.3.18-24.49.2SUSE-SU-2021:0354-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_151-8.3.1SUSE-SU-2021:0353-1
SUSELinux Enterprise Live Patching 15 SP1kernel-livepatch-SLE15-SP1_Update_221-3.5.1SUSE-SU-2021:0532-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_101-5.3.2SUSE-SU-2021:0354-1
SUSELinux Enterprise Module for Basesystem 15 SP2kernel-default-base5.3.18-24.49.2.9.21.2SUSE-SU-2021:0354-1
SUSELinux Enterprise Module for Basesystem 15 SP2kernel-source, kernel-default, kernel-preempt5.3.18-24.49.2SUSE-SU-2021:0354-1
SUSELinux Enterprise Module for Development Tools 15 SP2kernel-docs5.3.18-24.49.3SUSE-SU-2021:0354-1
SUSELinux Enterprise Module for Development Tools 15 SP2kernel-syms, kernel-source, kernel-preempt and 1 more5.3.18-24.49.2SUSE-SU-2021:0354-1
SUSELinux Enterprise Module for Public Cloud 15 SP2kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-18.35.2SUSE-SU-2021:0347-1
7 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.2kernel-default-base5.3.18-lp152.63.1.lp152.8.21.1openSUSE-SU-2021:0241-1
openSUSELeap 15.2kernel-docs, kernel-syms, kernel-debug and 6 more5.3.18-lp152.63.1openSUSE-SU-2021:0241-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelOut of support scope
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise MRG 2kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-20177.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON