cve.bz

CVE-2020-25211 Classic Buffer Overflow

6.0 mediumExploit referenceEPSS 0.6%Fix available

Medium (6.0). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel through 5.8.7, local attackers able to inject conntrack netlink configuration could overflow a local buffer, causing crashes or triggering use of incorrect protocol numbers in ctnetlink_parse_tuple_filter in net/netfilter/nf_conntrack_netlink.c, aka CID-1cc5ef91d2ff.

Severity

CVSS 3.1

6.0 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
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-2020-25211 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-25211?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-25211?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-2020-25211 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.8.7
debian:debian_linux9.0
debian:debian_linux10.0
fedoraproject:fedora31
fedoraproject:fedora32

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux4.9.240-1DLA-2420-1
Debian9linux-4.194.19.152-1~deb9u1DLA-2417-1
Debian10linux4.19.152-1DSA-4774-1
Debian12, 13, 14linux5.8.14-1DEBIAN-CVE-2020-25211
Ubuntu16.04:LTSlinux4.4.0-197.229UBUNTU-CVE-2020-25211 USN-4657-1
Ubuntu16.04:LTSlinux-aws4.4.0-1118.132UBUNTU-CVE-2020-25211 USN-4657-1
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1088.93~16.04.1UBUNTU-CVE-2020-25211 USN-4660-1
Ubuntu16.04:LTSlinux-azure4.15.0-1100.111~16.04.1UBUNTU-CVE-2020-25211 USN-4660-1
Ubuntu16.04:LTSlinux-gcp4.15.0-1088.101~16.04.1UBUNTU-CVE-2020-25211 USN-4660-1
Ubuntu16.04:LTSlinux-hwe4.15.0-126.129~16.04.1UBUNTU-CVE-2020-25211 USN-4660-1
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2020-25211
Ubuntu16.04:LTSlinux-kvm4.4.0-1084.93UBUNTU-CVE-2020-25211 USN-4657-1
Ubuntu16.04:LTSlinux-oracle4.15.0-1059.65~16.04.1UBUNTU-CVE-2020-25211 USN-4660-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1142.152UBUNTU-CVE-2020-25211 USN-4657-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1146.156UBUNTU-CVE-2020-25211 USN-4657-1
Ubuntu18.04:LTSlinux4.15.0-126.129UBUNTU-CVE-2020-25211 USN-4660-1
40 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::workstationperf, kernel, bpftool and 16 more0:3.10.0-1160.21.1.el7RHSA-2021:0856
Red Hatenterprise_linux:7::computenodeperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 5 more0:3.10.0-1160.21.1.el7RHSA-2021:0856
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 23 more0:3.10.0-1160.21.1.el7RHSA-2021:0856
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-240.10.1.el8_3RHSA-2021:0003
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-240.10.1.el8_3RHSA-2021:0003
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-240.10.1.rt7.64.el8_3RHSA-2021:0004
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-240.10.1.rt7.64.el8_3RHSA-2021:0004
Red Hatrhel_aus:7.4::server, rhel_tus:7.4::serverperf, kernel, kernel-doc and 14 more0:3.10.0-693.87.1.el7RHSA-2021:2164
Red Hatrhel_aus:7.6::server, rhel_tus:7.6::serverperf, kernel, bpftool and 15 more0:3.10.0-957.76.1.el7RHSA-2021:2355
Red Hatrhel_e4s:7.4::serverperf, kernel, kernel-doc and 16 more0:3.10.0-693.87.1.el7RHSA-2021:2164
Red Hatrhel_e4s:7.6::serverperf, kernel, bpftool and 17 more0:3.10.0-957.76.1.el7RHSA-2021:2355
Red Hatrhel_eus:7.7::computenodeperf, kernel, bpftool and 16 more0:3.10.0-1062.49.1.el7RHSA-2021:1531
19 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL and 4 morekernel-syms, kernel-source, kernel-default4.4.180-94.138.1SUSE-SU-2021:0452-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-LTSS and 3 morekgraft-patch-SLE12-SP3_Update_371-4.3.1SUSE-SU-2021:0452-1
SUSELinux Enterprise High Availability Extension 12 SP2kernel-default4.4.121-92.149.1SUSE-SU-2021:0437-1
SUSELinux Enterprise High Availability Extension 12 SP3kernel-default4.4.180-94.138.1SUSE-SU-2021:0452-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.68.1SUSE-SU-2021:0434-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, Linux Enterprise Live Patching 15kernel-default4.12.14-150.66.1SUSE-SU-2021:0438-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 High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server for SAP Applications 15kernel-docs, kernel-syms, kernel-source and 3 more4.12.14-150.66.1SUSE-SU-2021:0438-1
SUSELinux Enterprise Live Patching 12 SP4kgraft-patch-SLE12-SP4_Update_181-6.3.1SUSE-SU-2021:0434-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_151-8.3.1SUSE-SU-2021:0353-1
SUSELinux Enterprise Live Patching 15kernel-livepatch-SLE15_Update_221-1.3.1SUSE-SU-2021:0438-1
15 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; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw is rated as having Moderate impact (Red Hat Enterprise Linux 7 and lower) because of the need to have CAP_NET_ADMIN privileges.

This flaw is rated as having Important (Red Hat Enterprise Linux 8) impact because of the need to have CAP_NET_ADMIN privileges. Red Hat Enterprise Linux 8 enabled unprivileged user/network namespaces by default which can be used to exercise this vulnerability.

Red Hat's mitigation

To mitigate this issue, prevent module nf_conntrack_netlink from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.

Alternatively, if nf_conntrack_netlink is being used, on Red Hat Enterprise Linux 8, you can disable unprivileged user namespaces by setting user.max_user_namespaces to 0:

# echo "user.max_user_namespaces=0" > /etc/sysctl.d/userns.conf

# sysctl -p /etc/sysctl.d/userns.conf

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-1160.21.1.rt56.1158.el7Fixed 2021-03-16RHSA-2021:0857
Red Hat Enterprise Linux 7kernel-0:3.10.0-1160.21.1.el7Fixed 2021-03-16RHSA-2021:0856
Red Hat Enterprise Linux 7.4 Advanced Update Supportkernel-0:3.10.0-693.87.1.el7Fixed 2021-06-01RHSA-2021:2164
Red Hat Enterprise Linux 7.4 Telco Extended Update Supportkernel-0:3.10.0-693.87.1.el7Fixed 2021-06-01RHSA-2021:2164
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutionskernel-0:3.10.0-693.87.1.el7Fixed 2021-06-01RHSA-2021:2164
Red Hat Enterprise Linux 7.6 Advanced Update Supportkernel-0:3.10.0-957.76.1.el7Fixed 2021-06-09RHSA-2021:2355
Red Hat Enterprise Linux 7.6 Telco Extended Update Supportkernel-0:3.10.0-957.76.1.el7Fixed 2021-06-09RHSA-2021:2355
Red Hat Enterprise Linux 7.6 Update Services for SAP Solutionskernel-0:3.10.0-957.76.1.el7Fixed 2021-06-09RHSA-2021:2355
Red Hat Enterprise Linux 7.7 Extended Update Supportkernel-0:3.10.0-1062.49.1.el7Fixed 2021-05-11RHSA-2021:1531
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-240.10.1.rt7.64.el8_3Fixed 2021-01-04RHSA-2021:0004
Red Hat Enterprise Linux 8kernel-0:4.18.0-240.10.1.el8_3Fixed 2021-01-04RHSA-2021:0003
Red Hat Enterprise Linux 8.1 Extended Update Supportkernel-0:4.18.0-147.38.1.el8_1Fixed 2021-01-19RHSA-2021:0184
Red Hat Enterprise Linux 8.1 Extended Update Supportkpatch-patchFixed 2021-01-19RHSA-2021:0189
Red Hat Enterprise Linux 8.2 Extended Update Supportkernel-rt-0:4.18.0-193.46.1.rt13.96.el8_2Fixed 2021-03-09RHSA-2021:0774
Red Hat Enterprise Linux 8.2 Extended Update Supportkpatch-patchFixed 2021-03-09RHSA-2021:0763
Red Hat Enterprise Linux 8.2 Extended Update Supportkernel-0:4.18.0-193.46.1.el8_2Fixed 2021-03-09RHSA-2021:0765
Red Hat Enterprise Linux 5kernelOut of support scope
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernel-altWill not fix
Red Hat Enterprise MRG 2kernelOut of support scope

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-2020-25211.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON