Out-of-bounds Write Affecting editorconfig-core package, versions <0.12.1-1.1+deb11u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.84% (82nd 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-DEBIAN11-EDITORCONFIGCORE-3251741
  • published27 Jan 2023
  • disclosed1 Feb 2023

Introduced: 27 Jan 2023

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

How to fix?

Upgrade Debian:11 editorconfig-core to version 0.12.1-1.1+deb11u1 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 Debian. See How to fix? for Debian:11 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