{"id":"CVE-2021-4299","published":"2023-01-02T07:57:07Z","modified":"2024-08-03T17:23:10Z","title":"cronvel string-kit naturalSort.js naturalSort redos","vendor":"cronvel","product":"string-kit","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01014,"percentile":0.6408,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://vuldb.com/?id.217180","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.217180","tags":["signature","permissions-required"]},{"url":"https://github.com/cronvel/string-kit/commit/9cac4c298ee92c1695b0695951f1488884a7ca73","tags":["patch"]},{"url":"https://github.com/cronvel/string-kit/releases/tag/v0.12.8","tags":["patch"]}],"priority":{"score":15.8,"factors":[{"name":"EPSS percentile","points":12.82},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"cronvel","affectedVersions":[{"vendor":"cronvel","product":"string-kit","versions":["0.12.0","0.12.1","0.12.2","0.12.3","0.12.4","0.12.5","0.12.6","0.12.7"]}],"affected":[{"ecosystem":"npm","package":"string-kit","vulnerableRanges":["<0.12.8"],"patched":["0.12.8"],"from":["GHSA-pfrm-4rjw-g9q5"],"provenance":"source"}],"summary":{"text":"The string-kit library by cronvel contains a flaw in the naturalSort function in lib/naturalSort.js, where inefficient regular expression complexity makes it susceptible to a regular-expression denial-of-service condition. An attacker can trigger it remotely with low complexity and only low-privilege authentication, with no user interaction required, and the impact is limited to availability (the process slowing or becoming unresponsive).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:18Z"},"euvd":{"id":"EUVD-2023-0519","exploited":false,"provenance":"source"}}