CVE-2024-57947
Last modified
CVE-2024-57947 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.6, < 5.15.165 |
| Linux | Linux Kernel | >= 5.16, < 6.1.103 |
| Linux | Linux Kernel | >= 6.2, < 6.6.44 |
| Linux | Linux Kernel | >= 6.7, < 6.10.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-57947?
How severe is CVE-2024-57947?
How do I fix CVE-2024-57947?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-57941In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57942In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57943In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-57944In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57945In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-57946In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57948In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57949In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-5795A Denial of Service vulnerability was identified in GitHub E…6.5
- CVE-2024-57950In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57951In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-57952In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-57947?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
