CVE-2023-0341

NameCVE-2023-0341
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3978-1, ELA-1259-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
editorconfig-core (PTS)jessie0.11.5-2vulnerable
stretch0.12.1-1vulnerable
buster, buster (lts)0.12.1-1.1+deb10u1fixed
bullseye0.12.1-1.1vulnerable
bullseye (security)0.12.1-1.1+deb11u1fixed
bookworm0.12.6-0.1fixed
sid, trixie0.12.9+~0.15.1-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
editorconfig-coresourcejessie(unfixed)end-of-life
editorconfig-coresourcestretch(unfixed)end-of-life
editorconfig-coresourcebuster0.12.1-1.1+deb10u1ELA-1259-1
editorconfig-coresourcebullseye0.12.1-1.1+deb11u1DLA-3978-1
editorconfig-coresource(unstable)0.12.6-0.1

Notes

[buster] - editorconfig-core <no-dsa> (Minor issue)
https://github.com/editorconfig/editorconfig-core-c/pull/87
https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e

Search for package or bug name: Reporting problems