CVE-2023-0341
Editorconfig vulnerability
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.
Affected products
Editorconfig. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Editorconfig 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
- github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529 · Patch
- litios.github.io/2023/01/14/CVE-2023-0341.html · Exploit
- lists.fedoraproject.org/archives/list/[email protected]/message/ZCF
- ubuntu.com/security/notices/USN-5842-1
- lists.debian.org/debian-lts-announce/2024/11/msg00036.html
- nvd.nist.gov/vuln/detail/CVE-2023-0341
- cve.org/CVERecord?id=CVE-2023-0341
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.