CVE-2023-52436
f2fs: explicitly null-terminate the xattr list
Check your servers for CVE-2023-52436
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-2023-52436 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:
f2fs: explicitly null-terminate the xattr list
When setting an xattr, explicitly null-terminate the xattr list. This eliminates the fragile assumption that the unused xattr space is always zeroed.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user 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.30%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 24.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 21 Feb 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 af48b85b8cd3fbb12c9b6759c16db6d69c0b03da, before 16ae3132ff7746894894927c1892493693b89135 affected from af48b85b8cd3fbb12c9b6759c16db6d69c0b03da, before 12cf91e23b126718a96b914f949f2cdfeadc7b2a affected from af48b85b8cd3fbb12c9b6759c16db6d69c0b03da, before 3e47740091b05ac8d7836a33afd8646b6863ca52 affected from af48b85b8cd3fbb12c9b6759c16db6d69c0b03da, before 32a6cfc67675ee96fe107aeed5af9776fec63f11 affected from af48b85b8cd3fbb12c9b6759c16db6d69c0b03da, before 5de9e9dd1828db9b8b962f7ca42548bd596deb8a affected from af48b85b8cd3fbb12c9b6759c16db6d69c0b03da, before 2525d1ba225b5c167162fa344013c408e8b4de36 affected from af48b85b8cd3fbb12c9b6759c16db6d69c0b03da, before f6c30bfe5a49bc38cae985083a11016800708fea affected from af48b85b8cd3fbb12c9b6759c16db6d69c0b03da, before e26b6d39270f5eab0087453d9b544189a38c8564
Other versions: unaffected
|
| Linux |
affected 3.8 unaffected before 3.8 unaffected from 4.19.306 up to and including 4.19.* unaffected from 5.4.268 up to and including 5.4.* unaffected from 5.10.209 up to and including 5.10.* unaffected from 5.15.148 up to and including 5.15.* unaffected from 6.1.74 up to and including 6.1.* unaffected from 6.6.13 up to and including 6.6.* unaffected from 6.7.1 up to and including 6.7.* unaffected 6.8 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-2023-52436 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52436
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-2023-52436
trivy image --scanners vuln IMAGE | grep CVE-2023-52436
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/16ae3132ff7746894894927c1892493693b89135 git.kernel.org
- https://git.kernel.org/stable/c/12cf91e23b126718a96b914f949f2cdfeadc7b2a git.kernel.org
- https://git.kernel.org/stable/c/3e47740091b05ac8d7836a33afd8646b6863ca52 git.kernel.org
- https://git.kernel.org/stable/c/32a6cfc67675ee96fe107aeed5af9776fec63f11 git.kernel.org
- https://git.kernel.org/stable/c/5de9e9dd1828db9b8b962f7ca42548bd596deb8a git.kernel.org
- https://git.kernel.org/stable/c/2525d1ba225b5c167162fa344013c408e8b4de36 git.kernel.org
- https://git.kernel.org/stable/c/f6c30bfe5a49bc38cae985083a11016800708fea git.kernel.org
- https://git.kernel.org/stable/c/e26b6d39270f5eab0087453d9b544189a38c8564 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
Source: the record CVE-2023-52436 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