GitHub Advisoryadvisory · npm
GHSA-pfrm-4rjw-g9q5 string-kit Inefficient Regular Expression Complexity vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2021-4299
- Ecosystem
- npm
- Packages
- string-kit
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333
- Reviewed
- 2023-01-04
Affected packages
• npm string-kit: < 0.12.8 → fixed in 0.12.8
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 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.
Related
Alias · CVE (1)
- CVE-2021-4299 A vulnerability classified as problematic was found in cronvel string-kit up to 0.12.7. vulnerability
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-4299 advisory
- https://github.com/cronvel/string-kit/commit/9cac4c298ee92c1695b0695951f1488884a7ca73 web
- https://github.com/cronvel/string-kit package
- https://github.com/cronvel/string-kit/releases/tag/v0.12.8 web
- https://vuldb.com/?ctiid.217180 web
- https://vuldb.com/?id.217180 web