CVE-2022-48711
tipc: improve size validations for received domain records
Check your servers for CVE-2022-48711
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-2022-48711 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:
tipc: improve size validations for received domain records
The function tipc_mon_rcv() allows a node to receive and process domain_record structs from peer nodes to track their views of the network topology.
This patch verifies that the number of members in a received domain record does not exceed the limit defined by MAX_MON_DOMAIN, something that may otherwise lead to a stack overflow.
tipc_mon_rcv() is called from the function tipc_link_proto_rcv(), where we are reading a 32 bit message data length field into a uint16. To avert any risk of bit overflow, we add an extra sanity check for this in that function. We cannot see that happen with the current code, but future designers being unaware of this risk, may introduce it by allowing delivery of very large (> 64k) sk buffers from the bearer layer. This potential problem was identified by Eric Dumazet.
This fixes CVE-2022-0435
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)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/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 low, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.51%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 44.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 20 Jun 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 35c55c9877f8de0ab129fa1a309271d0ecc868b9, before 175db196e45d6f0e6047eccd09c8ba55465eb131 affected from 35c55c9877f8de0ab129fa1a309271d0ecc868b9, before fde4ddeadd099bf9fbb9ccbee8e1b5c20d530a2d affected from 35c55c9877f8de0ab129fa1a309271d0ecc868b9, before f1af11edd08dd8376f7a84487cbb0ea8203e3a1d affected from 35c55c9877f8de0ab129fa1a309271d0ecc868b9, before d692e3406e052dbf9f6d9da0cba36cb763272529 affected from 35c55c9877f8de0ab129fa1a309271d0ecc868b9, before 3c7e5943553594f68bbc070683db6bb6f6e9e78e affected from 35c55c9877f8de0ab129fa1a309271d0ecc868b9, before 1f1788616157b0222b0c2153828b475d95e374a7 affected from 35c55c9877f8de0ab129fa1a309271d0ecc868b9, before 59ff7514f8c56f166aadca49bcecfa028e0ad50f affected from 35c55c9877f8de0ab129fa1a309271d0ecc868b9, before 9aa422ad326634b76309e8ff342c246800621216
Other versions: unaffected
|
| Linux |
affected 4.8 unaffected before 4.8 unaffected from 4.9.301 up to and including 4.9.* unaffected from 4.14.266 up to and including 4.14.* unaffected from 4.19.229 up to and including 4.19.* unaffected from 5.4.179 up to and including 5.4.* unaffected from 5.10.100 up to and including 5.10.* unaffected from 5.15.23 up to and including 5.15.* unaffected from 5.16.9 up to and including 5.16.* unaffected 5.17 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-2022-48711 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-48711
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-2022-48711
trivy image --scanners vuln IMAGE | grep CVE-2022-48711
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/175db196e45d6f0e6047eccd09c8ba55465eb131 git.kernel.org
- https://git.kernel.org/stable/c/fde4ddeadd099bf9fbb9ccbee8e1b5c20d530a2d git.kernel.org
- https://git.kernel.org/stable/c/f1af11edd08dd8376f7a84487cbb0ea8203e3a1d git.kernel.org
- https://git.kernel.org/stable/c/d692e3406e052dbf9f6d9da0cba36cb763272529 git.kernel.org
- https://git.kernel.org/stable/c/3c7e5943553594f68bbc070683db6bb6f6e9e78e git.kernel.org
- https://git.kernel.org/stable/c/1f1788616157b0222b0c2153828b475d95e374a7 git.kernel.org
- https://git.kernel.org/stable/c/59ff7514f8c56f166aadca49bcecfa028e0ad50f git.kernel.org
- https://git.kernel.org/stable/c/9aa422ad326634b76309e8ff342c246800621216 git.kernel.org
Source: the record CVE-2022-48711 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