CVE-2023-0341 Stack Buffer Overflow in editorconfig-core-c
HighCVSS 7.8
EPSS 1.00%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/editorconfig-core(Debian:12) | < 0.12.6-0.1 | 0.12.6-0.1 |
| debian/editorconfig-core(Debian:13) | < 0.12.6-0.1 | 0.12.6-0.1 |
| debian/editorconfig-core(Debian:14) | < 0.12.6-0.1 | 0.12.6-0.1 |
| EditorConfig C Core | < v0.12.6 | v0.12.6 |
| ubuntu/editorconfig-core(Ubuntu:22.04) | < 0.12.5-2ubuntu0.1~esm1 | 0.12.5-2ubuntu0.1~esm1 |
| editorconfig | < 0.12.6 | 0.12.6 |
References
- Debian Security Tracker CVE-2023-0341 vendor-advisory
- github.com patch third-party-advisory
- litios.github.io exploit patch technical-description third-party-advisory
- USN-5842-1 third-party-advisory vendor-advisory
- lists.fedoraproject.org
- lists.debian.org
- Ubuntu CVE tracker vendor-advisory
- USN-7168-1 vendor-advisory
- www.cve.org