{"id":"CVE-2021-4299","aliases":["CVE-2021-4299","GHSA-pfrm-4rjw-g9q5"],"related":[],"kind":"vulnerability","state":"published","title":"cronvel string-kit naturalSort.js naturalSort redos","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"de","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2023-01-02T07:57:07.475Z","modified":"2026-06-17T04:19:27.243Z","severity":{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","score":4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-1333"],"affected":[{"ranges":[{"version":"0.12.0","status":"affected"},{"version":"0.12.1","status":"affected"},{"version":"0.12.2","status":"affected"},{"version":"0.12.3","status":"affected"},{"version":"0.12.4","status":"affected"},{"version":"0.12.5","status":"affected"},{"version":"0.12.6","status":"affected"},{"version":"0.12.7","status":"affected"}],"vendor":"cronvel","product":"string-kit","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.12.8"}],"ecosystem":"npm","package":"string-kit","purl":"pkg:npm/string-kit","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.12.8"}],"vendor":"string_kit_project","product":"string_kit","cpe":"cpe:2.3:a:string_kit_project:string_kit:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.217180","tags":["technical-description","third-party-advisory","vdb-entry","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://vuldb.com/?ctiid.217180","tags":["permissions-required","signature","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cronvel/string-kit/commit/9cac4c298ee92c1695b0695951f1488884a7ca73","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cronvel/string-kit/releases/tag/v0.12.8","tags":["patch","release-notes","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4299","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/cronvel/string-kit","tags":["package"],"sources":["ghsa"]}],"credits":["VulDB GitHub Commit Analyzer"],"assigner":"VulDB","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-4299","url":"https://www.cve.org/CVERecord?id=CVE-2021-4299","licence":"CVE Terms of Use","modified":"2024-08-03T17:23:10.350Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pfrm-4rjw-g9q5","url":"https://github.com/advisories/GHSA-pfrm-4rjw-g9q5","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:08.176Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-4299","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4299","licence":"Public domain","modified":"2026-06-17T04:19:27.243Z"}],"updatedAt":"2026-11-25T22:58:08.080Z","epss":{"score":0.01014,"percentile":0.62351,"date":"2026-11-30T12:00:22.000Z"}}