Improper Handling of Length Parameter Inconsistency Affecting kernel package, versions <0:4.18.0-477.74.1.el8_8


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-KERNEL-8084808
  • published24 Sept 2024
  • disclosed30 Jul 2024

Introduced: 30 Jul 2024

CVE-2024-42154  (opens in a new tab)
CWE-130  (opens in a new tab)

How to fix?

Upgrade RHEL:8 kernel to version 0:4.18.0-477.74.1.el8_8 or higher.
This issue was patched in RHSA-2024:6993.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel package and not the kernel package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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

tcp_metrics: validate source addr length

I don't see anything checking that TCP_METRICS_ATTR_SADDR_IPV4 is at least 4 bytes long, and the policy doesn't have an entry for this attribute at all (neither does it for IPv6 but v6 is manually validated).

CVSS Scores

version 3.1