Headline
Gentoo Linux Security Advisory 202411-04
Gentoo Linux Security Advisory 202411-4 - A vulnerability has been discovered in EditorConfig Core C library, which may lead to arbitrary code execution. Versions greater than or equal to 0.12.6 are affected.
Gentoo Linux Security Advisory GLSA 202411-04
https://security.gentoo.org/
Severity: Normal
Title: EditorConfig core C library: arbitrary stack write
Date: November 06, 2024
Bugs: #905308
ID: 202411-04
Synopsis
A vulnerability has been discovered in EditorConfig Core C library,
which may lead to arbitrary code execution.
Background
EditorConfig core library written in C (for use by plugins supporting
EditorConfig parsing)
Affected packages
Package Vulnerable Unaffected
app-text/editorconfig-core-c < 0.12.6 >= 0.12.6
Description
A vulnerability has been discovered in EditorConfig Core C library.
Please review the CVE identifier referenced below for details.
Impact
Please review the referenced CVE identifier for details.
Workaround
There is no known workaround at this time.
Resolution
All EditorConfig core C library users should upgrade to the latest
version:
emerge --sync
emerge --ask --oneshot --verbose “>=app-text/editorconfig-core-c-0.12.6”
References
[ 1 ] CVE-2023-0341
https://nvd.nist.gov/vuln/detail/CVE-2023-0341
Availability
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/202411-04
Concerns?
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users’ machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.
License
Copyright 2024 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
https://creativecommons.org/licenses/by-sa/2.5
Related news
Ubuntu Security Notice 5842-1 - Mark Esler and David Fernandez Gonzalez discovered that EditorConfig Core C incorrectly handled memory when handling certain inputs. An attacker could possibly use this issue to cause applications using EditorConfig Core C to crash, resulting in a denial of service, or possibly execute arbitrary code.
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.