CVE-2021-4299
JSON

4.3medium

cronvel string-kit naturalSort.js naturalSort redos

Severity
4.3medium CVSS:3.1 by VulDB
Exploit likelihood
1.01% (higher than 62% of CVEs)
Published
Last changed
Assigned by
VulDB
Also known as
GHSA-pfrm-4rjw-g9q5

Description

A vulnerability classified as problematic was found in cronvel string-kit up to 0.12.7. This vulnerability affects the function naturalSort of the file lib/naturalSort.js. The manipulation leads to inefficient regular expression complexity. The attack can be initiated remotely. Upgrading to version 0.12.8 is able to address this issue. The name of the patch is 9cac4c298ee92c1695b0695951f1488884a7ca73. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-217180.

Affected

Product or packageVersionsReported by
cronvel string-kit0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.12.4, 0.12.5, 0.12.6, 0.12.7CVE List
string-kit (npm)before 0.12.8GitHub Advisory Database
string_kit_project string_kitbefore 0.12.8NVD

All scores

VulDB4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
VulDB4.3medium CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
VulDB4.0medium CVSS:2.0AV:N/AC:L/Au:S/C:N/I:N/A:P
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

What each source says

CVE List

A vulnerability classified as problematic was found in cronvel string-kit up to 0.12.7. This vulnerability affects the function naturalSort of the file lib/naturalSort.js. The manipulation leads to inefficient regular expression complexity. The attack can be initiated remotely. Upgrading to version 0.12.8 is able to address this issue. The name of the patch is 9cac4c298ee92c1695b0695951f1488884a7ca73. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-217180.

CVE List (de)

In cronvel string-kit bis 0.12.7 wurde eine Schwachstelle entdeckt. Sie wurde als problematisch eingestuft. Es geht um die Funktion naturalSort der Datei lib/naturalSort.js. Durch das Manipulieren mit unbekannten Daten kann eine inefficient regular expression complexity-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk erfolgen. Ein Aktualisieren auf die Version 0.12.8 vermag dieses Problem zu lösen. Der Patch wird als 9cac4c298ee92c1695b0695951f1488884a7ca73 bezeichnet. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.

GitHub Advisory Database

A vulnerability classified as problematic was found in cronvel string-kit up to 0.12.7. This vulnerability affects the function naturalSort of the file lib/naturalSort.js. The manipulation leads to inefficient regular expression complexity. The attack can be initiated remotely. Upgrading to version 0.12.8 can address this issue. The name of the patch is 9cac4c298ee92c1695b0695951f1488884a7ca73. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-217180.

NVD (es)

Se encontró una vulnerabilidad en cronvel string-kit hasta 0.12.7 y fue clasificada como problemática. Esta vulnerabilidad afecta a la función naturalSort del archivo lib/naturalSort.js. La manipulación conduce a una complejidad de expresiones regulares ineficiente. El ataque se puede iniciar de forma remota. La actualización a la versión 0.12.8 puede solucionar este problema. El nombre del parche es 9cac4c298ee92c1695b0695951f1488884a7ca73. Se recomienda actualizar el componente afectado. El identificador de esta vulnerabilidad es VDB-217180.

References

https://vuldb.com/?id.217180technical-description, third-party-advisory, vdb-entry, web
https://vuldb.com/?ctiid.217180permissions-required, signature, third-party-advisory, web
https://github.com/cronvel/string-kit/commit/9cac4c298ee92c1695b0695951f1488884a7ca73patch, third-party-advisory, web
https://github.com/cronvel/string-kit/releases/tag/v0.12.8patch, release-notes, third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2021-4299advisory
https://github.com/cronvel/string-kitpackage

Sources

SourceRecordLicence
CVE ListCVE-2021-4299 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-pfrm-4rjw-g9q5 changed 2023-11-08CC-BY-4.0
NVDCVE-2021-4299 changed 2026-06-17Public domain