VDB

CVE-2024-0340

CVE-2024-0340 PUBLISHED CVSS 4.4 MEDIUM

Kernel: information disclosure in vhost/vhost.c:vhost_new_msg()

Reported by redhat · Published January 9, 2024

A vulnerability was found in vhost_new_msg in drivers/vhost/vhost.c in the Linux kernel, which does not properly initialize memory in messages passed between virtual guests and the host operating system in the vhost/vhost.c:vhost_new_msg() function. This issue can allow local privileged users to read some kernel memory contents when reading from the /dev/vhost-net device file.

Fixed versions

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

PackageEcosystemFixed in
perfAmazon Linux6.1.79-99.164.amzn2023, 4.14.343-259.562.amzn2
python3-perfAmazon Linux6.1.79-99.164.amzn2023
kernel-toolsAmazon Linux6.1.79-99.164.amzn2023, 4.14.343-259.562.amzn2
bpftoolAmazon Linux6.1.79-99.164.amzn2023
kernel-livepatch-4.14.343-259.562Amazon Linux1.0-0.amzn2
kernel-livepatch-6.1.79-99.164Amazon Linux1.0-0.amzn2023
kernel-headersAmazon Linux6.1.79-99.164.amzn2023, 4.14.343-259.562.amzn2
kernel-develAmazon Linux6.1.79-99.164.amzn2023, 4.14.343-259.562.amzn2
kernel-libbpf-develAmazon Linux6.1.79-99.164.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.79-99.164.amzn2023
kernel-libbpfAmazon Linux6.1.79-99.164.amzn2023
kernel-libbpf-staticAmazon Linux6.1.79-99.164.amzn2023

6 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
0
Red HatRed Hat Enterprise Linux 80:4.18.0-553.5.1.rt7.346.el8_10
Red HatRed Hat Enterprise Linux 80:4.18.0-553.5.1.el8_10
Red HatRed Hat Enterprise Linux 90:5.14.0-503.11.1.el9_5
Red HatRed Hat Enterprise Linux 90:5.14.0-503.11.1.el9_5
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support0:5.14.0-427.68.1.el9_4
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 90:5.14.0-503.11.1.el9_5
Red HatRed Hat Enterprise Linux 80:4.18.0-553.5.1.rt7.346.el8_10
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support0:5.14.0-427.68.1.el9_4
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 80:4.18.0-553.5.1.el8_10
Red HatRed Hat Enterprise Linux 6
0
Red HatRed Hat Enterprise Linux 7

Timeline

  • Jan 9, 2024 CVE Published
  • Jan 9, 2024 PoC Published (2 in total, the first dated here)
  • Jan 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (17 in total, the first dated here)
  • Mar 21, 2026 Distribution Patch (37 in total, the first dated here)
  • Mar 21, 2026 Security Advisory (39 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-0340
vulnetix vdb fixes CVE-2024-0340

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-0340/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 ›