CVE-2024-53849
Publication date 27 November 2024
Last updated 27 November 2024
Ubuntu priority
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
editorconfig-core | 24.10 oracular |
Not affected
|
24.04 LTS noble |
Not affected
|
|
22.04 LTS jammy |
Fixed 0.12.5-2ubuntu0.1~esm2
|
|
20.04 LTS focal |
Fixed 0.12.1-1.1+deb11u1build0.20.04.1
|
|
18.04 LTS bionic |
Fixed 0.12.1-1.1ubuntu0.18.04.1~esm2
|
|
16.04 LTS xenial |
Fixed 0.12.0-2ubuntu0.1~esm2
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProReferences
Related Ubuntu Security Notices (USN)
- USN-7168-1
- EditorConfig vulnerabilities
- 18 December 2024
Other references
- https://www.cve.org/CVERecord?id=CVE-2024-53849
- 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)
- http://editorconfig.org
- https://github.com/editorconfig/editorconfig-core-c/commit/4d5518a0a4e4910c37281ab13a048d0d86999782
- https://github.com/editorconfig/editorconfig-core-c/commit/a8dd5312e08abeab95ff5656d32ed3cb85fba70b