Lucene search

K
cvelistLinuxCVELIST:CVE-2023-52868
HistoryMay 21, 2024 - 3:31 p.m.

CVE-2023-52868 thermal: core: prevent potential string overflow

2024-05-2115:31:58
Linux
www.cve.org
linux kernel
vulnerability
prevent overflow

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.2%

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

thermal: core: prevent potential string overflow

The dev->id value comes from ida_alloc() so it’s a number between zero
and INT_MAX. If it’s too high then these sprintf()s will overflow.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/thermal/thermal_core.c"
    ],
    "versions": [
      {
        "version": "203d3d4aa482",
        "lessThan": "b55f0a9f865b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "203d3d4aa482",
        "lessThan": "6ad1bf47fbe5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "203d3d4aa482",
        "lessThan": "3091ab943dfc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "203d3d4aa482",
        "lessThan": "3f795fb35c2d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "203d3d4aa482",
        "lessThan": "3a8f4e58e1ee",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "203d3d4aa482",
        "lessThan": "77ff34a56b69",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "203d3d4aa482",
        "lessThan": "0f6b3be28c4d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "203d3d4aa482",
        "lessThan": "edbd6bbe40ac",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "203d3d4aa482",
        "lessThan": "c99626092efc",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/thermal/thermal_core.c"
    ],
    "versions": [
      {
        "version": "2.6.25",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "2.6.25",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.14.330",
        "lessThanOrEqual": "4.14.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.299",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.261",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.201",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.139",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.63",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.5.12",
        "lessThanOrEqual": "6.5.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.2",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.2%