Lucene search

K
cvelistFreebsdCVELIST:CVE-2022-23089
HistoryFeb 15, 2024 - 5:07 a.m.

CVE-2022-23089 Out of bound read in elf_note_prpsinfo()

2024-02-1505:07:13
freebsd
www.cve.org
1
cve-2022-23089
out of bound read
elf_note_prpsinfo
dumping core
saving process information
proc_getargv
sbuf
kernel crash

6.5 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.0%

When dumping core and saving process information, proc_getargv() might return an sbuf which have a sbuf_len() of 0 or -1, which is not properly handled.

An out-of-bound read can happen when user constructs a specially crafted ps_string, which in turn can cause the kernel to crash.

CNA Affected

[
  {
    "defaultStatus": "unknown",
    "modules": [
      "kernel"
    ],
    "product": "FreeBSD",
    "vendor": "FreeBSD",
    "versions": [
      {
        "lessThan": "p1",
        "status": "affected",
        "version": "13.1-RELEASE",
        "versionType": "release"
      },
      {
        "lessThan": "p12",
        "status": "affected",
        "version": "13.0-RELEASE",
        "versionType": "release"
      },
      {
        "lessThan": "p6",
        "status": "affected",
        "version": "12.3-RELEASE",
        "versionType": "release"
      }
    ]
  }
]

6.5 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.0%