CVE-2022-48757
Linux Kernel exposes information in Net namespace via /proc/net/ptype
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.
INFO
Published Date :
June 20, 2024, 12:15 p.m.
Last Modified :
Nov. 21, 2024, 7:33 a.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
Exploitability Score :
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-48757
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-48757
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-48757
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888 Added Reference https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee Added Reference https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779 Added Reference https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54 Added Reference https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908 Added Reference https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7 Added Reference https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6 Added Reference https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092 Added Reference https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 20, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-48757
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-48757
weaknesses.