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, 63.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Editorconfig
- Editorconfig C Core — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (DiRaltvein/memory-corruption-examples). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
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/…
- lists.debian.org/debian-lts-announce/2024/11/msg00036.html