Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-57947— netfilter: nf_set_pipapo: fix initial map fill

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于netfilter的nf_set_pipapo功能中初始映射填充时处理不当,导致缓冲区初始化错误和后续匹配结果不正确。

CVSS 9.8 · Critical EPSS 0.44% · P37

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 14

VendorProduct Version RangeStatus
Linux Linux 3c4287f62044a90e73a561aa05fc46e62da173da< 77bf0c4ab928ca4c9a99311f4f70ba0c17fecba9 affected
3c4287f62044a90e73a561aa05fc46e62da173da< 957a4d1c4c5849e4515c9fb4db21bf85318103dc affected
3c4287f62044a90e73a561aa05fc46e62da173da< 9625c46ce6fd4f922595a4b32b1de5066d70464f affected
3c4287f62044a90e73a561aa05fc46e62da173da< 69b6a67f7052905e928d75a0c5871de50e686986 affected
3c4287f62044a90e73a561aa05fc46e62da173da< 8058c88ac0df21239daee54b5934d5c80ca9685f affected
3c4287f62044a90e73a561aa05fc46e62da173da< 791a615b7ad2258c560f91852be54b0480837c93 affected
5.6 affected
< 5.6 unaffected
… +6 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-57947

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
netfilter: nf_set_pipapo: fix initial map fill
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_set_pipapo: fix initial map fill The initial buffer has to be inited to all-ones, but it must restrict it to the size of the first field, not the total field size. After each round in the map search step, the result and the fill map are swapped, so if we have a set where f->bsize of the first element is smaller than m->bsize_max, those one-bits are leaked into future rounds result map. This makes pipapo find an incorrect matching results for sets where first field size is not the largest. Followup patch adds a test case to nft_concat_range.sh selftest script. Thanks to Stefano Brivio for pointing out that we need to zero out the remainder explicitly, only correcting memset() argument isn't enough.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于netfilter的nf_set_pipapo功能中初始映射填充时处理不当,导致缓冲区初始化错误和后续匹配结果不正确。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 3c4287f62044a90e73a561aa05fc46e62da173da ~ 77bf0c4ab928ca4c9a99311f4f70ba0c17fecba9 -
Linux Linux 5.6 -

II. Public POCs for CVE-2024-57947

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-57947

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-57947 (5)

IV. Related Vulnerabilities

V. Comments for CVE-2024-57947

No comments yet


Leave a comment