CVE-2024-27388
SUNRPC: fix some memleaks in gssx_dec_option_array
Check your servers for CVE-2024-27388
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-27388 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
SUNRPC: fix some memleaks in gssx_dec_option_array
The creds and oa->data need to be freed in the error-handling paths after their allocation. So this patch add these deallocations in the corresponding paths.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.96%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 62.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1d658336b05f8697d6445834f8867f8ad5e4f735, before b97c37978ca825557d331c9012e0c1ddc0e42364 affected from 1d658336b05f8697d6445834f8867f8ad5e4f735, before bfa9d86d39a0fe4685f90c3529aa9bd62a9d97a8 affected from 1d658336b05f8697d6445834f8867f8ad5e4f735, before bb336cd8d5ecb69c430ebe3e7bcff68471d93fa8 affected from 1d658336b05f8697d6445834f8867f8ad5e4f735, before dd292e884c649f9b1c18af0ec75ca90b390cd044 affected from 1d658336b05f8697d6445834f8867f8ad5e4f735, before 934212a623cbab851848b6de377eb476718c3e4c affected from 1d658336b05f8697d6445834f8867f8ad5e4f735, before 5e6013ae2c8d420faea553d363935f65badd32c3 affected from 1d658336b05f8697d6445834f8867f8ad5e4f735, before 9806c2393cd2ab0a8e7bb9ffae02ce20e3112ec4 affected from 1d658336b05f8697d6445834f8867f8ad5e4f735, before 996997d1fb2126feda550d6adcedcbd94911fc69 affected from 1d658336b05f8697d6445834f8867f8ad5e4f735, before 3cfcfc102a5e57b021b786a755a38935e357797d
Other versions: unaffected
|
| Linux |
affected 3.10 unaffected before 3.10 unaffected from 4.19.311 up to and including 4.19.* unaffected from 5.4.273 up to and including 5.4.* unaffected from 5.10.214 up to and including 5.10.* unaffected from 5.15.153 up to and including 5.15.* unaffected from 6.1.83 up to and including 6.1.* unaffected from 6.6.23 up to and including 6.6.* unaffected from 6.7.11 up to and including 6.7.* unaffected from 6.8.2 up to and including 6.8.* unaffected 6.9 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-27388 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-27388
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-27388
trivy image --scanners vuln IMAGE | grep CVE-2024-27388
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b97c37978ca825557d331c9012e0c1ddc0e42364 git.kernel.org
- https://git.kernel.org/stable/c/bfa9d86d39a0fe4685f90c3529aa9bd62a9d97a8 git.kernel.org
- https://git.kernel.org/stable/c/bb336cd8d5ecb69c430ebe3e7bcff68471d93fa8 git.kernel.org
- https://git.kernel.org/stable/c/dd292e884c649f9b1c18af0ec75ca90b390cd044 git.kernel.org
- https://git.kernel.org/stable/c/934212a623cbab851848b6de377eb476718c3e4c git.kernel.org
- https://git.kernel.org/stable/c/5e6013ae2c8d420faea553d363935f65badd32c3 git.kernel.org
- https://git.kernel.org/stable/c/9806c2393cd2ab0a8e7bb9ffae02ce20e3112ec4 git.kernel.org
- https://git.kernel.org/stable/c/996997d1fb2126feda550d6adcedcbd94911fc69 git.kernel.org
- https://git.kernel.org/stable/c/3cfcfc102a5e57b021b786a755a38935e357797d git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
Source: the record CVE-2024-27388 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse