Use-after-free in iproute2 - CVE-2019-20795

 

Use-after-free in iproute2 - CVE-2019-20795

Published: May 14, 2020


Vulnerability identifier: #VU27904
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2019-20795
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Stephen Hemminger
Affected software:
iproute2

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error within the get_netnsid_from_name() function in ip/ipnetns.c. A remote attacker can send specially crafted data to the application, trigger use-after-free error and execute arbitrary code on the target system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


How to mitigate CVE-2019-20795

Install updates from vendor's website.

Sources