CVE-2021-47547
net: tulip: de4x5: fix the problem that the array 'lp->phy[8]' may be out of bound
Check your servers for CVE-2021-47547
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-47547 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:
net: tulip: de4x5: fix the problem that the array 'lp->phy[8]' may be out of bound
In line 5001, if all id in the array 'lp->phy[8]' is not 0, when the 'for' end, the 'k' is 8.
At this time, the array 'lp->phy[8]' may be out of bound.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
- 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 none, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.2% 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
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before ec5bd0aef1cec96830d0c7e06d3597d9e786cc98 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 142ead3dc70411bd5977e8c47a6d8bf22287b3f8 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before d3dedaa5a601107cfedda087209772c76e364d58 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 2c1a6a9a011d622a7c61324a97a49801ba425eff affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 77ff166909458646e66450e42909e0adacc99049 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before f059fa40f0fcc6bc7a12e0f2a2504e9a4ff74f1f affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 12f907cb11576b8cd0b1d95a16d1f10ed5bb7237 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 61217be886b5f7402843677e4be7e7e83de9cb41
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 4.4.294 up to and including 4.4.* unaffected from 4.9.292 up to and including 4.9.* unaffected from 4.14.257 up to and including 4.14.* unaffected from 4.19.220 up to and including 4.19.* unaffected from 5.4.164 up to and including 5.4.* unaffected from 5.10.84 up to and including 5.10.* unaffected from 5.15.7 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-47547 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47547
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-47547
trivy image --scanners vuln IMAGE | grep CVE-2021-47547
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/ec5bd0aef1cec96830d0c7e06d3597d9e786cc98 git.kernel.org
- https://git.kernel.org/stable/c/142ead3dc70411bd5977e8c47a6d8bf22287b3f8 git.kernel.org
- https://git.kernel.org/stable/c/d3dedaa5a601107cfedda087209772c76e364d58 git.kernel.org
- https://git.kernel.org/stable/c/2c1a6a9a011d622a7c61324a97a49801ba425eff git.kernel.org
- https://git.kernel.org/stable/c/77ff166909458646e66450e42909e0adacc99049 git.kernel.org
- https://git.kernel.org/stable/c/f059fa40f0fcc6bc7a12e0f2a2504e9a4ff74f1f git.kernel.org
- https://git.kernel.org/stable/c/12f907cb11576b8cd0b1d95a16d1f10ed5bb7237 git.kernel.org
- https://git.kernel.org/stable/c/61217be886b5f7402843677e4be7e7e83de9cb41 git.kernel.org
Source: the record CVE-2021-47547 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