Linux Kernel up to 5.18.9 User Namespace nf_tables_api.c nft_set_elem_init type confusion

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.1$0-$5k0.00

Summaryinfo

A vulnerability classified as critical was found in Linux Kernel up to 5.18.9. The impacted element is the function nft_set_elem_init of the file net/netfilter/nf_tables_api.c of the component User Namespace Handler. Such manipulation leads to type confusion. This vulnerability is referenced as CVE-2022-34918. It is possible to launch the attack remotely. Furthermore, an exploit is available. A patch should be applied to remediate this issue.

Detailsinfo

A vulnerability was found in Linux Kernel up to 5.18.9 (Operating System). It has been rated as critical. Affected by this issue is the function nft_set_elem_init of the file net/netfilter/nf_tables_api.c of the component User Namespace Handler. The manipulation with an unknown input leads to a type confusion vulnerability. Using CWE to declare the problem leads to CWE-843. The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type. Impacted is confidentiality, integrity, and availability. CVE summarizes:

An issue was discovered in the Linux kernel through 5.18.9. A type confusion bug in nft_set_elem_init (leading to a buffer overflow) could be used by a local attacker to escalate privileges, a different vulnerability than CVE-2022-32250. (The attacker can obtain root access, but must start with an unprivileged user namespace to obtain CAP_NET_ADMIN access.) This can be fixed in nft_setelem_parse_data in net/netfilter/nf_tables_api.c.

The weakness was published 07/05/2022. The advisory is available at git.kernel.org. This vulnerability is handled as CVE-2022-34918 since 07/04/2022. Technical details as well as a public exploit are known.

The exploit is available at packetstormsecurity.com. It is declared as highly functional. As 0-day the estimated underground price was around $5k-$25k.

Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.3
VulDB Meta Temp Score: 8.1

VulDB Base Score: 8.8
VulDB Temp Score: 8.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Type confusion
CWE: CWE-843
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: git.kernel.org

Timelineinfo

07/04/2022 🔍
07/05/2022 +1 days 🔍
07/05/2022 +0 days 🔍
06/29/2024 +725 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2022-34918 (🔍)
GCVE (CVE): GCVE-0-2022-34918
GCVE (VulDB): GCVE-100-203210
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 07/05/2022 07:25
Updated: 06/29/2024 14:20
Changes: 07/05/2022 07:25 (43), 07/19/2022 07:45 (18), 06/29/2024 14:20 (20)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!