Out-of-bounds Write Affecting editorconfig-core package, versions <0.12.1-1.1+deb11u1build0.20.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.8% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-EDITORCONFIGCORE-3252911
  • published30 Jan 2023
  • disclosed1 Feb 2023

Introduced: 30 Jan 2023

CVE-2023-0341  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 editorconfig-core to version 0.12.1-1.1+deb11u1build0.20.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream editorconfig-core package and not the editorconfig-core package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Scores

version 3.1