VDB

CVE-2024-50131

CVE-2024-50131 PUBLISHED CVSS 7.3 HIGH

tracing: Consider the NULL character when validating the event length

Reported by linux · Published November 5, 2024

In the Linux kernel, the following vulnerability has been resolved: tracing: Consider the NULL character when validating the event length strlen() returns a string length excluding the null byte. If the string length equals to the maximum buffer length, the buffer will have no space for the NULL terminating character. This commit checks this condition and returns failure for it.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-headersAmazon Linux6.1.115-126.197.amzn2023
perfAmazon Linux6.1.115-126.197.amzn2023
kernel-libbpf-develAmazon Linux6.1.115-126.197.amzn2023
bpftoolAmazon Linux6.1.115-126.197.amzn2023
kernel-libbpfAmazon Linux6.1.115-126.197.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.115-126.197.amzn2023
kernel-develAmazon Linux6.1.115-126.197.amzn2023
kernel-livepatch-6.1.115-126.197Amazon Linux1.0-0.amzn2023
kernel-tools-develAmazon Linux6.1.115-126.197.amzn2023
LinuxLinuxf4ed40d1c669bba1a54407d8182acdc405683f29, 5fd942598ddeed9a212d1ff41f9f5b47bcc990a7, 5e3231b352725ff4a3a0095e6035af674f2d8725, 02874ca52df2ca2423ba6122039315ed61c25972

Risk scores

CVSS 3.1
7.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H

Affected products

VendorProductVersions
LinuxLinuxdec65d79fd269d05427c8167090bfc9c3d0b56c4, dec65d79fd269d05427c8167090bfc9c3d0b56c4, dec65d79fd269d05427c8167090bfc9c3d0b56c4
LinuxLinux5.1, 0, 5.4.285
amazon:2023kernel-headers0
amazon:2023perf0
amazon:2023kernel-libbpf-devel0
amazon:2023bpftool0
amazon:2023kernel-libbpf0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-devel0
amazon:2023kernel-livepatch-6.1.115-126.1970
amazon:2023kernel-tools-devel0
LinuxLinux*, *, *
linuxlinux_kernel5.1, 5.1, 5.1
amazon:2023kernel-tools0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-modules-extra0
amazon:2023python3-perf0
amazon:2023kernel0

Timeline

  • Nov 5, 2024 CVE Published
  • Nov 6, 2024 EPSS Score (30 in total, the first dated here)
  • Nov 6, 2024 Coalition ESS Score (11 in total, the first dated here)
  • Jan 2, 2026 Security Advisory (182 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (141 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-50131
vulnetix vdb fixes CVE-2024-50131

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-50131/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›