CVEfocus › CVE database › CVE-2019-20795

CVE-2019-20795

CVSS 4.4 MediumEPSS 0.4% (higher than 35% of CVEs)Published 2020-05-09Updated 2026-10-14Assigner: mitre

iproute2 before 5.1.0 has a use-after-free in get_netnsid_from_name in ip/ipnetns.c. NOTE: security relevance may be limited to certain uses of setuid that, although not a default, are sometimes a configuration option offered to end users. Even when setuid is used, other factors (such as C library configuration) may block exploitability.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

20Fixed
4Fix pending
4Will not fix
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04iproute2Not affected
vulnerable_code_not_present
Ubuntu 18.04iproute2Fixed4.15.0-2ubuntu1.1UBUNTU-CVE-2019-20795
Ubuntu 16.04iproute2Not affected
vulnerable_code_not_present
Ubuntu 14.04iproute2Fix pending
Debian 14iproute2Fixed5.2.0-1DEBIAN-CVE-2019-20795
Debian 13iproute2Fixed5.2.0-1DEBIAN-CVE-2019-20795
Debian 12iproute2Fixed5.2.0-1DEBIAN-CVE-2019-20795
Red Hat Enterprise Linux 8iprouteNot affected
Red Hat Enterprise Linux 8iproute-develNot affected
Red Hat Enterprise Linux 8iproute-tcNot affected
Red Hat Enterprise Linux 7iprouteFix pending
Fix deferred
Red Hat Enterprise Linux 7iproute-develFix pending
Fix deferred
Red Hat Enterprise Linux 7iproute-docFix pending
Fix deferred
Red Hat Enterprise Linux 6iprouteWill not fix
Out of support scope
Red Hat Enterprise Linux 6iproute-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6iproute-docWill not fix
Out of support scope
Red Hat Enterprise Linux 5iprouteWill not fix
Out of support scope
Alpine Linux 3.24iproute2Fixed5.1.0-r0ALPINE-CVE-2019-20795
Alpine Linux 3.23iproute2Fixed5.1.0-r0ALPINE-CVE-2019-20795
Alpine Linux 3.22iproute2Fixed5.1.0-r0ALPINE-CVE-2019-20795
Alpine Linux 3.21iproute2Fixed5.1.0-r0ALPINE-CVE-2019-20795
Alpine Linux 3.20iproute2Fixed5.1.0-r0ALPINE-CVE-2019-20795
Alpine Linux 3.19iproute2Fixed5.1.0-r0ALPINE-CVE-2019-20795
Alpine Linux 3.18iproute2Fixed5.1.0-r0ALPINE-CVE-2019-20795
Alpine Linux 3.17iproute2Fixed5.1.0-r0ALPINE-CVE-2019-20795
Alpine Linux 3.16iproute2Fixed5.1.0-r0ALPINE-CVE-2019-20795
Alpine Linux 3.15iproute2Fixed5.1.0-r0ALPINE-CVE-2019-20795
Alpine Linux 3.14iproute2Fixed5.1.0-r0ALPINE-CVE-2019-20795
Alpine Linux 3.13iproute2Fixed5.1.0-r0ALPINE-CVE-2019-20795
Alpine Linux 3.12iproute2Fixed5.1.0-r0ALPINE-CVE-2019-20795
Alpine Linux 3.11iproute2Fixed5.1.0-r0ALPINE-CVE-2019-20795
Alpine Linux 3.10iproute2Fixed4.20.0-r2ALPINE-CVE-2019-20795
Alpine Linux 3.9iproute2Fixed4.19.0-r1ALPINE-CVE-2019-20795

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.