CVE-2022-48757
net: fix information leakage in /proc/net/ptype
Check your servers for CVE-2022-48757
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-48757 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: fix information leakage in /proc/net/ptype
In one net namespace, after creating a packet socket without binding it to a device, users in other net namespaces can observe the new `packet_type` added by this packet socket by reading `/proc/net/ptype` file. This is minor information leakage as packet socket is namespace aware.
Add a net pointer in `packet_type` to keep the net namespace of of corresponding packet socket. In `ptype_seq_show`, this net pointer must be checked when it is not NULL.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 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 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50, before 8f88c78d24f6f346919007cd459fd7e51a8c7779 affected from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50, before be1ca30331c7923c6f376610c1bd6059be9b1908 affected from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50, before c38023032a598ec6263e008d62c7f02def72d5c7 affected from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50, before b67ad6170c0ea87391bb253f35d1f78857736e54 affected from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50, before e372ecd455b6ebc7720f52bf4b5f5d44d02f2092 affected from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50, before db044d97460ea792110eb8b971e82569ded536c6 affected from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50, before e43669c77cb3a742b7d84ecdc7c68c4167a7709b affected from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50, before 839ec7039513a4f84bfbaff953a9393471176bee affected from 2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50, before 47934e06b65637c88a762d9c98329ae6e3238888
Other versions: unaffected
|
| Linux |
affected 2.6.26 unaffected before 2.6.26 unaffected from 4.4.302 up to and including 4.4.* unaffected from 4.9.300 up to and including 4.9.* unaffected from 4.14.265 up to and including 4.14.* unaffected from 4.19.228 up to and including 4.19.* unaffected from 5.4.176 up to and including 5.4.* unaffected from 5.10.96 up to and including 5.10.* unaffected from 5.15.19 up to and including 5.15.* unaffected from 5.16.5 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-48757 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-48757
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-48757
trivy image --scanners vuln IMAGE | grep CVE-2022-48757
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/8f88c78d24f6f346919007cd459fd7e51a8c7779 git.kernel.org
- https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908 git.kernel.org
- https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7 git.kernel.org
- https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54 git.kernel.org
- https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092 git.kernel.org
- https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6 git.kernel.org
- https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b git.kernel.org
- https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee git.kernel.org
- https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888 git.kernel.org
Source: the record CVE-2022-48757 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