# CVE-2021-4299: cronvel string-kit naturalSort.js naturalSort redos

- Severity: Medium 4.3 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.01%, higher than 62% of CVEs (2026-11-30)
- Published: 2023-01-02T07:57:07.475Z
- Modified: 2026-06-17T04:19:27.243Z
- Also known as: GHSA-pfrm-4rjw-g9q5
- Weaknesses: CWE-1333
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- cronvel string-kit: 0.12.0; 0.12.1; 0.12.2; 0.12.3; 0.12.4; 0.12.5; 0.12.6; 0.12.7
- string-kit (npm): before 0.12.8
- string_kit_project string_kit: before 0.12.8

## Every score

- VulDB: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- VulDB: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

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

## Sources

- CVE List: [CVE-2021-4299](https://www.cve.org/CVERecord?id=CVE-2021-4299), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-pfrm-4rjw-g9q5](https://github.com/advisories/GHSA-pfrm-4rjw-g9q5), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-4299](https://nvd.nist.gov/vuln/detail/CVE-2021-4299), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-4299 · Whole record: https://cve.day/CVE-2021-4299.json · Rebuilt by cve.day 2026-11-25T22:58:08.080Z
