CVE-2019-20795: Use After Free

Published May 9, 2020
·
Updated

iproute2 before 5.1.0 has a use-after-free in getnetnsidfromname 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.

Affected Software

3 affected componentsFixes available
Iproute2 Project Iproute2<5.1.0
Canonical Ubuntu Linux=18.04
debian/iproute2
6.1.0-36.15.0-17.2.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/iproute2 to a version that resolves this vulnerability.

    Fixed in 6.1.0-3Fixed in 6.15.0-1Fixed in 7.2.0-1
  2. Upgrade

    Upgrade iproute2 to a version that resolves this vulnerability.

    Fixed in 5.1.0

Event History

May 9, 2020
CVE Published
via MITRE·08:16 PM
Data Sourced
via MITRE·08:16 PM
Description
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:27 PM
Description
Feb 23, 2026
Data Sourced
via Ubuntu·03:25 PM
RemedyDescriptionSeverityAffected Software
Oct 14, 2026
Data Sourced
via Debian·08:11 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2019-20795?

The severity of CVE-2019-20795 is considered moderate due to its limited impact primarily in configurations that use setuid.

2

How do I fix CVE-2019-20795?

To fix CVE-2019-20795, upgrade to iproute2 version 5.1.0 or later.

3

What versions of iproute2 are affected by CVE-2019-20795?

iproute2 versions prior to 5.1.0 are affected by CVE-2019-20795.

4

Is there a workaround for CVE-2019-20795?

Disabling setuid usage can serve as a temporary workaround for CVE-2019-20795 until an upgrade is performed.

5

Can CVE-2019-20795 be exploited remotely?

CVE-2019-20795 typically requires local access and specific configurations, thus remote exploitation is unlikely.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203