CVE-2021-4299 json
cronvel string-kit naturalSort.js naturalSort redos
published 2023-01-02 3 y ago modified 2026-06-17 4 mo ago also GHSA-pfrm-4rjw-g9q5 , EUVD-2023-0519
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 0
- none known
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.
Patch / fix
- npm string-kit 0.12.8
- string_kit_project string_kit 0.12.8
Exploit prediction
1.01% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| CNA | 3.0 | 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| CNA | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | string-kit | <0.12.8 |
0.12.8 |
Affected products
- cronvel string-kit
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/cronvel/string-kit/commit/9cac4c298ee92c1695b0695951f1488884a7ca73
patch, web, third-party-advisory
-
github.com
/cronvel/string-kit/releases/tag/v0.12.8
patch, web, release-notes, third-party-advisory
-
vuldb.com
/?id.217180
vdb-entry, technical-description, web, third-party-advisory
-
vuldb.com
/?ctiid.217180
signature, permissions-required, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-4299
advisory
-
github.com
/cronvel/string-kit
package
Sources
- CVE List CVE-2021-4299
- GitHub Advisory GHSA-pfrm-4rjw-g9q5
- NVD CVE-2021-4299
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.