cve/2023/CVE-2023-0341.md

18 lines
851 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-0341](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0341)
![](https://img.shields.io/static/v1?label=Product&message=EditorConfig%20C%20Core&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%20v0.12.6%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-121&color=brighgreen)
### 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.
### POC
#### Reference
- https://litios.github.io/2023/01/14/CVE-2023-0341.html
#### Github
2024-08-06 19:19:10 +00:00
- https://github.com/DiRaltvein/memory-corruption-examples
2024-05-25 21:48:12 +02:00