CVE-2019-25160
netlabel: fix out-of-bounds memory accesses
Check your servers for CVE-2019-25160
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-2019-25160 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:
netlabel: fix out-of-bounds memory accesses
There are two array out-of-bounds memory accesses, one in cipso_v4_map_lvl_valid(), the other in netlbl_bitmap_walk(). Both errors are embarassingly simple, and the fixes are straightforward.
As a FYI for anyone backporting this patch to kernels prior to v4.8, you'll want to apply the netlbl_bitmap_walk() patch to cipso_v4_bitmap_walk() as netlbl_bitmap_walk() doesn't exist before Linux v4.8.
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)
Exploitation
EPSS 0.75%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 56.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 27 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 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, before 97bc3683c24999ee621d847c9348c75d2fe86272 affected from 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, before c61d01faa5550e06794dcf86125ccd325bfad950 affected from 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, before dc18101f95fa6e815f426316b8b9a5cee28a334e affected from 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, before 1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000 affected from 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, before fcfe700acdc1c72eab231300e82b962bac2b2b2c affected from 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, before e3713abc4248aa6bcc11173d754c418b02a62cbb affected from 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, before fbf9578919d6c91100ec63acf2cba641383f6c78 affected from 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, before 5578de4834fe0f2a34fedc7374be691443396d1f
Other versions: unaffected
|
| Linux |
affected 2.6.19 unaffected before 2.6.19 unaffected from 3.16.66 up to and including 3.16.* unaffected from 3.18.137 up to and including 3.18.* unaffected from 4.4.177 up to and including 4.4.* unaffected from 4.9.163 up to and including 4.9.* unaffected from 4.14.106 up to and including 4.14.* unaffected from 4.19.28 up to and including 4.19.* unaffected from 4.20.15 up to and including 4.20.* unaffected 5.0 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-2019-25160 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2019-25160
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-2019-25160
trivy image --scanners vuln IMAGE | grep CVE-2019-25160
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/97bc3683c24999ee621d847c9348c75d2fe86272 git.kernel.org
- https://git.kernel.org/stable/c/c61d01faa5550e06794dcf86125ccd325bfad950 git.kernel.org
- https://git.kernel.org/stable/c/dc18101f95fa6e815f426316b8b9a5cee28a334e git.kernel.org
- https://git.kernel.org/stable/c/1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000 git.kernel.org
- https://git.kernel.org/stable/c/fcfe700acdc1c72eab231300e82b962bac2b2b2c git.kernel.org
- https://git.kernel.org/stable/c/e3713abc4248aa6bcc11173d754c418b02a62cbb git.kernel.org
- https://git.kernel.org/stable/c/fbf9578919d6c91100ec63acf2cba641383f6c78 git.kernel.org
- https://git.kernel.org/stable/c/5578de4834fe0f2a34fedc7374be691443396d1f git.kernel.org
Source: the record CVE-2019-25160 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