Name | CVE-2024-53849 |
Description | editorconfig-core-c is theEditorConfig core library written in C (for use by plugins supporting EditorConfig parsing). In affected versions several overflows may occur in switch case '[' when the input pattern contains many escaped characters. The added backslashes leave too little space in the output pattern when processing nested brackets such that the remaining input length exceeds the output capacity. This issue has been addressed in release version 0.12.7. Users are advised to upgrade. There are no known workarounds for this vulnerability. |
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 | vulnerable |
| sid, trixie | 0.12.9+~0.15.1-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - editorconfig-core <no-dsa> (Minor issue)
https://github.com/editorconfig/editorconfig-core-c/security/advisories/GHSA-475j-wc37-6274
https://github.com/editorconfig/editorconfig-core-c/pull/103
https://github.com/editorconfig/editorconfig-core-c/commit/4d5518a0a4e4910c37281ab13a048d0d86999782 (v0.12.7)
https://github.com/editorconfig/editorconfig-core-c/commit/fca7cf19e0fb800c2d38f173c1f69ad40bf2a2f5 (v0.12.7)