PT-2023-16194 · Unknown+3 · Editorconfig-Core-C+3

David Fernandez Gonzalez

+1

·

Published

2023-01-19

·

Updated

2024-12-18

·

CVE-2023-0341

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions editorconfig-core-c versions prior to 0.12.6
Description A stack buffer overflow exists in the ec glob function, allowing an attacker to arbitrarily write to the stack and possibly enabling remote code execution. This issue is resolved in version 0.12.6 by implementing bound checking for all write operations over the p pcre buffer.
Recommendations For versions prior to 0.12.6, update to version 0.12.6 to resolve the issue by implementing bound checking for all write operations over the p pcre buffer. As a temporary workaround, consider restricting the use of the ec glob function until a patch is available.

Exploit

Fix

RCE

Stack Overflow

Memory Corruption

Weakness Enumeration

Related Identifiers

BDU:2025-03960
CVE-2023-0341
DLA-3978-1
MGASA-2023-0048
OPENSUSE-SU-2023:0102-1
OPENSUSE-SU-2024:12906-1
USN-5842-1
USN-7168-1

Affected Products

Astra Linux
Linuxmint
Ubuntu
Editorconfig-Core-C