CVE-2021-47478
isofs: Fix out of bound access for corrupted isofs image
Check your servers for CVE-2021-47478
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-2021-47478 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:
isofs: Fix out of bound access for corrupted isofs image
When isofs image is suitably corrupted isofs_read_inode() can read data beyond the end of buffer. Sanity-check the directory entry length before using it.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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 none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- 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 none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.69%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 53.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 29 May 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
Weakness
- CWE-125 Out-of-bounds Read
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 156ce5bb6cc43a80a743810199defb1dc3f55b7f affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 9ec33a9b8790c212cc926a88c5e2105f97f3f57e affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before afbd40f425227e661d991757e11cc4db024e761f affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before b0ddff8d68f2e43857a84dce54c3deab181c8ae1 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 6e80e9314f8bb52d9eabe1907698718ff01120f5 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 86d4aedcbc69c0f84551fb70f953c24e396de2d7 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before b2fa1f52d22c5455217b294629346ad23a744945 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before e7fb722586a2936b37bdff096c095c30ca06404d affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before e96a1866b40570b5950cda8602c2819189c62a48
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 4.4.292 up to and including 4.4.* unaffected from 4.9.290 up to and including 4.9.* unaffected from 4.14.255 up to and including 4.14.* unaffected from 4.19.217 up to and including 4.19.* unaffected from 5.4.159 up to and including 5.4.* unaffected from 5.10.79 up to and including 5.10.* unaffected from 5.14.18 up to and including 5.14.* unaffected from 5.15.2 up to and including 5.15.* unaffected 5.16 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-2021-47478 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47478
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-2021-47478
trivy image --scanners vuln IMAGE | grep CVE-2021-47478
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/156ce5bb6cc43a80a743810199defb1dc3f55b7f git.kernel.org
- https://git.kernel.org/stable/c/9ec33a9b8790c212cc926a88c5e2105f97f3f57e git.kernel.org
- https://git.kernel.org/stable/c/afbd40f425227e661d991757e11cc4db024e761f git.kernel.org
- https://git.kernel.org/stable/c/b0ddff8d68f2e43857a84dce54c3deab181c8ae1 git.kernel.org
- https://git.kernel.org/stable/c/6e80e9314f8bb52d9eabe1907698718ff01120f5 git.kernel.org
- https://git.kernel.org/stable/c/86d4aedcbc69c0f84551fb70f953c24e396de2d7 git.kernel.org
- https://git.kernel.org/stable/c/b2fa1f52d22c5455217b294629346ad23a744945 git.kernel.org
- https://git.kernel.org/stable/c/e7fb722586a2936b37bdff096c095c30ca06404d git.kernel.org
- https://git.kernel.org/stable/c/e96a1866b40570b5950cda8602c2819189c62a48 git.kernel.org
Source: the record CVE-2021-47478 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse