CVE-2024-53203 (GCVE-0-2024-53203)
Vulnerability from cvelistv5
Published
2024-12-27 13:49
Modified
2025-04-25 10:06
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: typec: fix potential array underflow in ucsi_ccg_sync_control() The "command" variable can be controlled by the user via debugfs. The worry is that if con_index is zero then "&uc->ucsi->connector[con_index - 1]" would be an array underflow.
Impacted products
Vendor Product Version
Linux Linux Version: 170a6726d0e266f2c8f306e3d61715c32f4ee41e
Version: 170a6726d0e266f2c8f306e3d61715c32f4ee41e
Version: 170a6726d0e266f2c8f306e3d61715c32f4ee41e
Version: 170a6726d0e266f2c8f306e3d61715c32f4ee41e
Create a notification for this product.
   Linux Linux Version: 5.6
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/typec/ucsi/ucsi_ccg.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0e66fd8e5a2e45c7dacfc9178ba702153f4a61a8",
              "status": "affected",
              "version": "170a6726d0e266f2c8f306e3d61715c32f4ee41e",
              "versionType": "git"
            },
            {
              "lessThan": "ef92cd55289a282910575c5b9d87f646f2d39b38",
              "status": "affected",
              "version": "170a6726d0e266f2c8f306e3d61715c32f4ee41e",
              "versionType": "git"
            },
            {
              "lessThan": "56971710cd541f2f05160a84b3183477d34a1be9",
              "status": "affected",
              "version": "170a6726d0e266f2c8f306e3d61715c32f4ee41e",
              "versionType": "git"
            },
            {
              "lessThan": "e56aac6e5a25630645607b6856d4b2a17b2311a5",
              "status": "affected",
              "version": "170a6726d0e266f2c8f306e3d61715c32f4ee41e",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/typec/ucsi/ucsi_ccg.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.6"
            },
            {
              "lessThan": "5.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.88",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.11.*",
              "status": "unaffected",
              "version": "6.11.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.13",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: fix potential array underflow in ucsi_ccg_sync_control()\n\nThe \"command\" variable can be controlled by the user via debugfs.  The\nworry is that if con_index is zero then \"\u0026uc-\u003eucsi-\u003econnector[con_index\n- 1]\" would be an array underflow."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-04-25T10:06:43.742Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0e66fd8e5a2e45c7dacfc9178ba702153f4a61a8"
        },
        {
          "url": "https://git.kernel.org/stable/c/ef92cd55289a282910575c5b9d87f646f2d39b38"
        },
        {
          "url": "https://git.kernel.org/stable/c/56971710cd541f2f05160a84b3183477d34a1be9"
        },
        {
          "url": "https://git.kernel.org/stable/c/e56aac6e5a25630645607b6856d4b2a17b2311a5"
        }
      ],
      "title": "usb: typec: fix potential array underflow in ucsi_ccg_sync_control()",
      "x_generator": {
        "engine": "bippy-1.1.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-53203",
    "datePublished": "2024-12-27T13:49:49.484Z",
    "dateReserved": "2024-11-19T17:17:25.019Z",
    "dateUpdated": "2025-04-25T10:06:43.742Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "fkie_nvd": {
      "descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: typec: fix potential array underflow in ucsi_ccg_sync_control()\\n\\nThe \\\"command\\\" variable can be controlled by the user via debugfs.  The\\nworry is that if con_index is zero then \\\"\u0026uc-\u003eucsi-\u003econnector[con_index\\n- 1]\\\" would be an array underflow.\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: typec: se corrige un posible desbordamiento de matriz en ucsi_ccg_sync_control(). El usuario puede controlar la variable \\\"command\\\" a trav\\u00e9s de debugfs. La preocupaci\\u00f3n es que si con_index es cero, entonces \\\"\u0026amp;uc-\u0026gt;ucsi-\u0026gt;connector[con_index - 1]\\\" ser\\u00eda un desbordamiento de matriz.\"}]",
      "id": "CVE-2024-53203",
      "lastModified": "2024-12-27T14:15:28.083",
      "published": "2024-12-27T14:15:28.083",
      "references": "[{\"url\": \"https://git.kernel.org/stable/c/56971710cd541f2f05160a84b3183477d34a1be9\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/e56aac6e5a25630645607b6856d4b2a17b2311a5\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/ef92cd55289a282910575c5b9d87f646f2d39b38\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]",
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Awaiting Analysis"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-53203\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-12-27T14:15:28.083\",\"lastModified\":\"2025-01-16T16:46:16.927\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: typec: fix potential array underflow in ucsi_ccg_sync_control()\\n\\nThe \\\"command\\\" variable can be controlled by the user via debugfs.  The\\nworry is that if con_index is zero then \\\"\u0026uc-\u003eucsi-\u003econnector[con_index\\n- 1]\\\" would be an array underflow.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: typec: se corrige un posible desbordamiento de matriz en ucsi_ccg_sync_control(). El usuario puede controlar la variable \\\"command\\\" a trav\u00e9s de debugfs. La preocupaci\u00f3n es que si con_index es cero, entonces \\\"\u0026amp;uc-\u0026gt;ucsi-\u0026gt;connector[con_index - 1]\\\" ser\u00eda un desbordamiento de matriz.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-129\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.6\",\"versionEndExcluding\":\"6.11.11\",\"matchCriteriaId\":\"F6E5BC9C-2956-4725-8827-6A983AE003AB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.12\",\"versionEndExcluding\":\"6.12.2\",\"matchCriteriaId\":\"D8882B1B-2ABC-4838-AC1D-DBDBB5764776\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/56971710cd541f2f05160a84b3183477d34a1be9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/e56aac6e5a25630645607b6856d4b2a17b2311a5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ef92cd55289a282910575c5b9d87f646f2d39b38\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}"
  }
}


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.