ghsa-2645-7hqp-7qr7
Vulnerability from github
Published
2024-10-21 21:30
Modified
2024-10-25 21:31
Details

In the Linux kernel, the following vulnerability has been resolved:

NFC: nci: Bounds check struct nfc_target arrays

While running under CONFIG_FORTIFY_SOURCE=y, syzkaller reported:

memcpy: detected field-spanning write (size 129) of single field "target->sensf_res" at net/nfc/nci/ntf.c:260 (size 18)

This appears to be a legitimate lack of bounds checking in nci_add_new_protocol(). Add the missing checks.

Show details on source website


{
   affected: [],
   aliases: [
      "CVE-2022-48967",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-129",
      ],
      github_reviewed: false,
      github_reviewed_at: null,
      nvd_published_at: "2024-10-21T20:15:08Z",
      severity: "HIGH",
   },
   details: "In the Linux kernel, the following vulnerability has been resolved:\n\nNFC: nci: Bounds check struct nfc_target arrays\n\nWhile running under CONFIG_FORTIFY_SOURCE=y, syzkaller reported:\n\n  memcpy: detected field-spanning write (size 129) of single field \"target->sensf_res\" at net/nfc/nci/ntf.c:260 (size 18)\n\nThis appears to be a legitimate lack of bounds checking in\nnci_add_new_protocol(). Add the missing checks.",
   id: "GHSA-2645-7hqp-7qr7",
   modified: "2024-10-25T21:31:27Z",
   published: "2024-10-21T21:30:51Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2022-48967",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/27eb2d7a1b9987b6d0429b7716b1ff3b82c4ffc9",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/6778434706940b8fad7ef35f410d2b9929f256d2",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/6b37f0dc0638d13a006f2f24d2f6ca61e83bc714",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/908b2da426fe9c3ce74cf541ba40e7a4251db191",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/cff35329070b96b4484d23f9f48a5ca2c947e750",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/dbdcfb9f6748218a149f62468d6297ce3f014e9c",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/e329e71013c9b5a4535b099208493c7826ee4a64",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/f41547546db9af99da2c34e3368664d7a79cefae",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
         type: "CVSS_V3",
      },
   ],
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



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.