Name | CVE-2023-0341 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3978-1, ELA-1259-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
editorconfig-core (PTS) | jessie | 0.11.5-2 | vulnerable |
| stretch | 0.12.1-1 | vulnerable |
| buster, buster (lts) | 0.12.1-1.1+deb10u1 | fixed |
| bullseye | 0.12.1-1.1 | vulnerable |
| bullseye (security) | 0.12.1-1.1+deb11u1 | fixed |
| bookworm | 0.12.6-0.1 | fixed |
| sid, trixie | 0.12.9+~0.15.1-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[buster] - editorconfig-core <no-dsa> (Minor issue)
https://github.com/editorconfig/editorconfig-core-c/pull/87
https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e