Stack-based Buffer Overflow Affecting libeditorconfig0 package, versions <0.12.6-150600.3.3.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.2% (12th 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-SLES156-LIBEDITORCONFIG0-8454497
  • published4 Dec 2024
  • disclosed3 Dec 2024

Introduced: 3 Dec 2024

CVE-2024-53849  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade SLES:15.6 libeditorconfig0 to version 0.12.6-150600.3.3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libeditorconfig0 package and not the libeditorconfig0 package as distributed by SLES. See How to fix? for SLES:15.6 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 Base Scores

version 3.1