CVE-2024-53849

NameCVE-2024-53849
Descriptioneditorconfig-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
editorconfig-core (PTS)bullseye0.12.1-1.1vulnerable
bookworm0.12.6-0.1vulnerable
sid, trixie0.12.9+~0.15.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
editorconfig-coresource(unstable)0.12.7-0.1

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)

Search for package or bug name: Reporting problems