editorconfig-core-c up to 0.12.5 ec_glob stack-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.2 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in editorconfig-core-c up to 0.12.5. This impacts the function ec_glob. Such manipulation leads to stack-based overflow.
This vulnerability is documented as CVE-2023-0341. The attack can be executed remotely. There is not any exploit available.
The affected component should be upgraded.
Details
A vulnerability was found in editorconfig-core-c up to 0.12.5 and classified as critical. Affected by this issue is the function ec_glob. The manipulation with an unknown input leads to a stack-based overflow vulnerability. Using CWE to declare the problem leads to CWE-121. A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function). Impacted is confidentiality, integrity, and availability. CVE summarizes:
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.
The weakness was released 02/01/2023 as 41281ea82fbf24b060a9f69b9c5369350fb0529e. The advisory is available at github.com. This vulnerability is handled as CVE-2023-0341 since 01/17/2023. Technical details are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 211975 (Debian dla-3978 : editorconfig - security update), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 0.12.6 eliminates this vulnerability. Applying the patch 41281ea82fbf24b060a9f69b9c5369350fb0529e is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (211975). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.2
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
CNA Base Score: 7.8
CNA Vector (Canonical Ltd.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Stack-based overflowCWE: CWE-121 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 211975
Nessus Name: Debian dla-3978 : editorconfig - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: editorconfig-core-c 0.12.6
Patch: 41281ea82fbf24b060a9f69b9c5369350fb0529e
Timeline
01/17/2023 🔍02/01/2023 🔍
02/01/2023 🔍
11/05/2025 🔍
Sources
Advisory: 41281ea82fbf24b060a9f69b9c5369350fb0529eStatus: Confirmed
CVE: CVE-2023-0341 (🔍)
GCVE (CVE): GCVE-0-2023-0341
GCVE (VulDB): GCVE-100-219866
Entry
Created: 02/01/2023 02:41Updated: 11/05/2025 18:59
Changes: 02/01/2023 02:41 (42), 03/01/2023 07:30 (12), 11/30/2024 16:35 (17), 11/05/2025 18:59 (11)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.