Menu

Star on GitHub · 3.2k

CVE-2024-36937

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: xdp: use flags field to disambiguate broadcast redirect When redirecting a packet using XDP, the bpf_redirect_map() helper will…

Published May 30, 2024CWE-476EPSS 0.22%

Overview

CVE-2024-36937 is a medium-severity vulnerability. It was published on May 30, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

xdp: use flags field to disambiguate broadcast redirect

When redirecting a packet using XDP, the bpf_redirect_map() helper will set

up the redirect destination information in struct bpf_redirect_info (using

the __bpf_xdp_redirect_map() helper function), and the xdp_do_redirect()

function will read this information after the XDP program returns and pass

the frame on to the right redirect destination.

When using the BPF_F_BROADCAST flag to do multicast redirect to a whole

map, __bpf_xdp_redirect_map() sets the 'map' pointer in struct

bpf_redirect_info to point to the destination map to be broadcast. And

xdp_do_redirect() reacts to the value of this map pointer to decide whether

it's dealing with a broadcast or a single-value redirect. However, if the

destination map is being destroyed before xdp_do_redirect() is called, the

map pointer will be cleared out (by bpf_clear_redirect_map()) without

waiting for any XDP progr

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-36937?

CVE-2024-36937 is a medium-severity vulnerability. It was published on May 30, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-36937?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-36937?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-36937?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-36937 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2024

View all