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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.010 (60.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 60th percentile — 60.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.010 · change: 0.000
Affected products
- Editorconfig
- Editorconfig C Core — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c53… (Patch, Third Party Advisory, patch)
- litios.github.io/2023/01/14/CVE-2023-0341.html (Exploit, technical-description, Patch, Third Party Advisory)
- ubuntu.com/security/notices/USN-5842-1 (third-party-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- 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.