# CVE-2019-20795: iproute2: iproute2 before 5.1.0 has a use-after-free in get_netnsid_from_name in ip/ipnetns.c

CVE-2019-20795 is fixed in iproute2 on 1 platform by iproute2 4.15.0-2ubuntu1.1 (version 4.15.0-2ubuntu1.1), released May 9, 2020. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2019-20795
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0041
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 9, 2020

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | iproute2 Ubuntu 18.04.6 LTS (bionic) | 4.15.0-2ubuntu1.1 | [iproute2 4.15.0-2ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-iproute2-4.15.0-2ubuntu1.1.md) | May 9, 2020 |

---

Data as of 2026-11-07T18:46:35Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
