Stack-based Buffer Overflow Affecting editorconfig-core package, versions <0.12.1-1.1+deb11u1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th 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-8422795
  • published27 Nov 2024
  • disclosed27 Nov 2024

Introduced: 27 Nov 2024

CVE-2024-53849  (opens in a new tab)
CWE-121  (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.

editorconfig-core-c is theEditorConfig core library written in C (for use by plugins supporting EditorConfig parsing). In affected versions several overflows may occur in switch case '[' when the input pattern contains many escaped characters. The added backslashes leave too little space in the output pattern when processing nested brackets such that the remaining input length exceeds the output capacity. This issue has been addressed in release version 0.12.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVSS Scores

version 3.1