Out-of-bounds Write Affecting kernel-modules-core package, versions <0:5.14.0-284.66.1.el9_2


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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-RHEL9-KERNELMODULESCORE-6846229
  • published15 May 2024
  • disclosed28 Mar 2024

Introduced: 28 Mar 2024

CVE-2023-52628  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade RHEL:9 kernel-modules-core to version 0:5.14.0-284.66.1.el9_2 or higher.
This issue was patched in RHSA-2024:2845.

NVD Description

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

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

netfilter: nftables: exthdr: fix 4-byte stack OOB write

If priv->len is a multiple of 4, then dst[len / 4] can write past the destination array which leads to stack corruption.

This construct is necessary to clean the remainder of the register in case ->len is NOT a multiple of the register size, so make it conditional just like nft_payload.c does.

The bug was added in 4.1 cycle and then copied/inherited when tcp/sctp and ip option support was added.

Bug reported by Zero Day Initiative project (ZDI-CAN-21950, ZDI-CAN-21951, ZDI-CAN-21961).

CVSS Scores

version 3.1