#VU72037 Stack-based buffer overflow in editorconfig-core-c


Published: 2023-02-08

Vulnerability identifier: #VU72037

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-0341

CWE-ID: CWE-121

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
editorconfig-core-c
Other software / Other software solutions

Vendor: EditorConfig

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the ec_glob() function. A remote unauthenticated attacker can trick the victim to edit a specially crafted file, trigger a stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

editorconfig-core-c: 0.8.0 - 0.12.5


External links
http://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e
http://litios.github.io/2023/01/14/CVE-2023-0341.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability