CVE-2024-53849
editorconfig-core-c is theEditorConfig core library written in C …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- editorconfig.org
- github.com/editorconfig/editorconfig-core-c/commit/4d5518a0a4e4910c37281ab13a048d0d8699978
- github.com/editorconfig/editorconfig-core-c/commit/a8dd5312e08abeab95ff5656d32ed3cb85fba70
- github.com/editorconfig/editorconfig-core-c/pull/103
- github.com/editorconfig/editorconfig-core-c/security/advisories/GHSA-475j-wc37-6274
- lists.debian.org/debian-lts-announce/2024/11/msg00036.html
- nvd.nist.gov/vuln/detail/CVE-2024-53849
- cve.org/CVERecord?id=CVE-2024-53849
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.