iproute2 up to 5.0.x ip/ipnetns.c get_netnsid_from_name use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.4$0-$5k0.00

Summaryinfo

A vulnerability was found in iproute2 up to 5.0.x. It has been classified as critical. Affected by this vulnerability is the function get_netnsid_from_name of the file ip/ipnetns.c. This manipulation causes use after free. This vulnerability is tracked as CVE-2019-20795. The attack is possible to be carried out remotely. No exploit exists. Applying a patch is the recommended action to fix this issue.

Detailsinfo

A vulnerability has been found in iproute2 up to 5.0.x and classified as critical. Affected by this vulnerability is the function get_netnsid_from_name of the file ip/ipnetns.c. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

iproute2 before 5.1.0 has a use-after-free in get_netnsid_from_name in ip/ipnetns.c.

The weakness was disclosed 05/09/2020 as confirmed git commit (GIT Repository). The advisory is shared at git.kernel.org. This vulnerability is known as CVE-2019-20795 since 05/09/2020. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 222857 (Linux Distros Unpatched Vulnerability : CVE-2019-20795), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 5.1.0 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be patching the affected component.

The vulnerability is also documented in the vulnerability database at Tenable (222857). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.5
VulDB Meta Temp Score: 8.4

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 222857
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2019-20795

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Upgrade: iproute2 5.1.0
Patch: git.kernel.org

Timelineinfo

05/09/2020 🔍
05/09/2020 +0 days 🔍
05/10/2020 +1 days 🔍
03/05/2025 +1760 days 🔍

Sourcesinfo

Advisory: git.kernel.org
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2019-20795 (🔍)
GCVE (CVE): GCVE-0-2019-20795
GCVE (VulDB): GCVE-100-154957

Entryinfo

Created: 05/10/2020 09:13
Updated: 03/05/2025 08:23
Changes: 05/10/2020 09:13 (41), 05/10/2020 09:18 (17), 10/16/2020 11:54 (1), 03/05/2025 08:23 (18)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!