CVE-2023-0341

high

Description

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.

References

https://ubuntu.com/security/notices/USN-5842-1

https://litios.github.io/2023/01/14/CVE-2023-0341.html

https://lists.fedoraproject.org/archives/list/[email protected]/message/ZCFE7DXWAAKDJPRKMXHCACKGKNV37IYZ/

https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e

Details

Source: Mitre, NVD

Published: 2023-02-01

Updated: 2023-06-03

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High