Skip to content

string-kit Inefficient Regular Expression Complexity vulnerability

High severity GitHub Reviewed Published Jan 2, 2023 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

npm string-kit (npm)

Affected versions

< 0.12.8

Patched versions

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.

References

Published by the National Vulnerability Database Jan 2, 2023
Published to the GitHub Advisory Database Jan 2, 2023
Reviewed Jan 4, 2023
Last updated Feb 3, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2021-4299

GHSA ID

GHSA-pfrm-4rjw-g9q5

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.