Buffer overflow in Editorconfig
CVE-2023-0341
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.
Vulnerability class: Buffer Overflow
EPSS: 0.010 (58.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Editorconfig
- Editorconfig C Core — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@ubuntu.com (Patch, Third Party Advisory, patch)
- security@ubuntu.com (Exploit, technical-description, Patch, Third Party Advisory)
- security@ubuntu.com (third-party-advisory)
- security@ubuntu.com
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2023-0341?
- CVE-2023-0341 is a high-severity vulnerability in Editorconfig, classified under Stack-based Buffer Overflow. CVSS score: 7.8/10. Published 2023-02-01.
- How severe is CVE-2023-0341?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2023-0341 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.