Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-43882

7.8 · HIGH
Published Aug 21, 2024 linux CWE-367 EPSS 0.24% (15th pctl)

Overview

CVE-2024-43882 is a high-severity vulnerability affecting linux linux_kernel. It was published on August 21, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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:

exec: Fix ToCToU between perm check and set-uid/gid usage

When opening a file for exec via do_filp_open(), permission checking is

done against the file's metadata at that moment, and on success, a file

pointer is passed back. Much later in the execve() code path, the file

metadata (specifically mode, uid, and gid) is used to determine if/how

to set the uid and gid. However, those values may have changed since the

permissions check, meaning the execution may gain unintended privileges.

For example, if a file could change permissions from executable and not

set-id:

---------x 1 root root 16048 Aug 7 13:16 target

to set-id and non-executable:

---S------ 1 root root 16048 Aug 7 13:16 target

it is possible to gain root privileges when execution should have been

disallowed.

While this race condition is rare in real-world scenarios, it has been

observed (and proven exploitable) when package managers are updating

the

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 0, < 4.19.320 Affected

Frequently Asked Questions

What is CVE-2024-43882?

CVE-2024-43882 is a high-severity vulnerability affecting linux linux_kernel. It was published on August 21, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-43882?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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-43882?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-43882?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-43882 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.