Lucene search

K
cvelistCanonicalCVELIST:CVE-2023-0341
HistoryJan 31, 2023 - 11:22 p.m.

CVE-2023-0341 Stack Buffer Overflow in editorconfig-core-c

2023-01-3123:22:53
CWE-121
canonical
www.cve.org
1
stack buffer overflow
editorconfig-core-c
vulnerability
remote code execution
bound checking
p_pcre buffer

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

0.003 Low

EPSS

Percentile

70.8%

A stack buffer overflow exists in the ec_glob function of editorconfig-core-c before v0.12.6 which allowed an attacker to arbitrarily write to the stack and possibly allows remote code execution. editorconfig-core-c v0.12.6 resolved this vulnerability by bound checking all write operations over the p_pcre buffer.

CNA Affected

[
  {
    "collectionURL": "https://github.com/editorconfig/editorconfig-core-c/releases",
    "modules": [
      "configuration file parsing"
    ],
    "packageName": "editorconfig-core-c",
    "platforms": [
      "Linux",
      "MacOS",
      "Windows"
    ],
    "product": "EditorConfig C Core",
    "repo": "https://github.com/editorconfig/editorconfig-core-c/",
    "vendor": "EditorConfig",
    "versions": [
      {
        "lessThan": "v0.12.6",
        "status": "affected",
        "version": "0",
        "versionType": "commit"
      }
    ]
  }
]

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

0.003 Low

EPSS

Percentile

70.8%