Vulnerability 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.
Related Weaknesses (CWE)
References
- http://editorconfig.org
- https://github.com/editorconfig/editorconfig-core-c/commit/4d5518a0a4e4910c37281
- https://github.com/editorconfig/editorconfig-core-c/commit/a8dd5312e08abeab95ff5
- https://github.com/editorconfig/editorconfig-core-c/pull/103
- https://github.com/editorconfig/editorconfig-core-c/security/advisories/GHSA-475
- https://lists.debian.org/debian-lts-announce/2024/11/msg00036.html
FAQ
What is CVE-2024-53849?
CVE-2024-53849 is a documented vulnerability. 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 in...
How severe is CVE-2024-53849?
CVSS scoring is not yet available for CVE-2024-53849. Check NVD for updates.
Is there a patch for CVE-2024-53849?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.