CVE-2021-4299
HIGH 7.5CVSS 3.1string-kit Inefficient Regular Expression Complexity vulnerability
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.
- Published
- 2 Jan 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Modified
- Weakness
- CWE-1333
- Also known as
- GHSA-pfrm-4rjw-g9q5
- Sources
- NVDJSONOSV GHSA-pfrm-4rjw-g9q5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | string_kit_project | string_kitcpe:2.3:a:string_kit_project:string_kit:*:*:*:*:*:node.js:*:* |
< 0.12.8 | 0.12.8 |
| OSV | npm | string-kit | < 0.12.8 | 0.12.8 |
References
- https://github.com/cronvel/string-kit/commit/9cac4c298ee92c1695b0695951f1488884a7ca73 · Patch, Third Party Advisory, WEB
- https://github.com/cronvel/string-kit/releases/tag/v0.12.8 · Release Notes, Third Party Advisory, WEB
- https://vuldb.com/?ctiid.217180 · Third Party Advisory, WEB
- https://vuldb.com/?id.217180 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-4299 · ADVISORY
- https://github.com/cronvel/string-kit · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 2 Jan 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Jan 2023)