cve-2022-48757
Vulnerability from cvelistv5
Published
2024-06-20 11:13
Modified
2024-12-19 08:07
Severity ?
Summary
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.
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b
Impacted products
Vendor Product Version
Linux Linux Version: 2.6.26
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T15:25:01.373Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2022-48757",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T17:10:16.134809Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:34:47.482Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "include/linux/netdevice.h",
            "net/core/net-procfs.c",
            "net/packet/af_packet.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8f88c78d24f6f346919007cd459fd7e51a8c7779",
              "status": "affected",
              "version": "2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50",
              "versionType": "git"
            },
            {
              "lessThan": "be1ca30331c7923c6f376610c1bd6059be9b1908",
              "status": "affected",
              "version": "2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50",
              "versionType": "git"
            },
            {
              "lessThan": "c38023032a598ec6263e008d62c7f02def72d5c7",
              "status": "affected",
              "version": "2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50",
              "versionType": "git"
            },
            {
              "lessThan": "b67ad6170c0ea87391bb253f35d1f78857736e54",
              "status": "affected",
              "version": "2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50",
              "versionType": "git"
            },
            {
              "lessThan": "e372ecd455b6ebc7720f52bf4b5f5d44d02f2092",
              "status": "affected",
              "version": "2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50",
              "versionType": "git"
            },
            {
              "lessThan": "db044d97460ea792110eb8b971e82569ded536c6",
              "status": "affected",
              "version": "2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50",
              "versionType": "git"
            },
            {
              "lessThan": "e43669c77cb3a742b7d84ecdc7c68c4167a7709b",
              "status": "affected",
              "version": "2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50",
              "versionType": "git"
            },
            {
              "lessThan": "839ec7039513a4f84bfbaff953a9393471176bee",
              "status": "affected",
              "version": "2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50",
              "versionType": "git"
            },
            {
              "lessThan": "47934e06b65637c88a762d9c98329ae6e3238888",
              "status": "affected",
              "version": "2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "include/linux/netdevice.h",
            "net/core/net-procfs.c",
            "net/packet/af_packet.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.26"
            },
            {
              "lessThan": "2.6.26",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.4.*",
              "status": "unaffected",
              "version": "4.4.302",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.300",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.265",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.228",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.176",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.96",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.19",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.16.*",
              "status": "unaffected",
              "version": "5.16.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.17",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: fix information leakage in /proc/net/ptype\n\nIn one net namespace, after creating a packet socket without binding\nit to a device, users in other net namespaces can observe the new\n`packet_type` added by this packet socket by reading `/proc/net/ptype`\nfile. This is minor information leakage as packet socket is\nnamespace aware.\n\nAdd a net pointer in `packet_type` to keep the net namespace of\nof corresponding packet socket. In `ptype_seq_show`, this net pointer\nmust be checked when it is not NULL."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-19T08:07:08.856Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779"
        },
        {
          "url": "https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908"
        },
        {
          "url": "https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7"
        },
        {
          "url": "https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54"
        },
        {
          "url": "https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092"
        },
        {
          "url": "https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6"
        },
        {
          "url": "https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b"
        },
        {
          "url": "https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee"
        },
        {
          "url": "https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888"
        }
      ],
      "title": "net: fix information leakage in /proc/net/ptype",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-48757",
    "datePublished": "2024-06-20T11:13:36.529Z",
    "dateReserved": "2024-06-20T11:09:39.059Z",
    "dateUpdated": "2024-12-19T08:07:08.856Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-48757\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-06-20T12:15:13.823\",\"lastModified\":\"2024-11-21T07:33:57.330\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: fix information leakage in /proc/net/ptype\\n\\nIn one net namespace, after creating a packet socket without binding\\nit to a device, users in other net namespaces can observe the new\\n`packet_type` added by this packet socket by reading `/proc/net/ptype`\\nfile. This is minor information leakage as packet socket is\\nnamespace aware.\\n\\nAdd a net pointer in `packet_type` to keep the net namespace of\\nof corresponding packet socket. In `ptype_seq_show`, this net pointer\\nmust be checked when it is not NULL.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: corrige la fuga de informaci\u00f3n en /proc/net/ptype en un espacio de nombres de red, despu\u00e9s de crear un socket de paquetes sin vincularlo a un dispositivo, los usuarios de otros espacios de nombres de red pueden observar la nueva `packet_type` agregado por este socket de paquete leyendo el archivo `/proc/net/ptype`. Esta es una fuga de informaci\u00f3n menor ya que el socket del paquete reconoce el espacio de nombres. Agregue un puntero de red en `packet_type` para mantener el espacio de nombres de red del socket de paquete correspondiente. En `ptype_seq_show`, este puntero de red debe verificarse cuando no sea NULL.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/47934e06b65637c88a762d9c98329ae6e3238888\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/839ec7039513a4f84bfbaff953a9393471176bee\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/8f88c78d24f6f346919007cd459fd7e51a8c7779\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/b67ad6170c0ea87391bb253f35d1f78857736e54\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/be1ca30331c7923c6f376610c1bd6059be9b1908\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/c38023032a598ec6263e008d62c7f02def72d5c7\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/db044d97460ea792110eb8b971e82569ded536c6\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/e372ecd455b6ebc7720f52bf4b5f5d44d02f2092\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/e43669c77cb3a742b7d84ecdc7c68c4167a7709b\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.