Application denial of service via naturalSort regex
Published Jan 2, 2023 · Updated Aug 3, 2024
Regular expression denial of service in Cronvel String Kit 0.12.7 and earlier allows remote attackers to interrupt applications. The naturalSort function in lib/naturalSort.js tokenizes attacker-controlled sort values with a complex regular expression whose backtracking consumes excessive CPU. Reachability requires a consuming Node.js application to pass remotely supplied values into naturalSort, where processing can monopolize the event loop and interrupt that application.
Summary
What happened
Regular expression denial of service in Cronvel String Kit 0.12.7 and earlier allows remote attackers to interrupt applications. The naturalSort function in lib/naturalSort.js tokenizes attacker-controlled sort values with a complex regular expression whose backtracking consumes excessive CPU. Reachability requires a consuming Node.js application to pass remotely supplied values into naturalSort, where processing can monopolize the event loop and interrupt that application.
The record
- CVE
- CVE-2021-4299
- Published
- Jan 2, 2023
- Updated
- Aug 3, 2024
- Vendor
- Cronvel
- Product
- String Kit
- Classifications
- CWE-1333, CAPEC-492, T1499.003
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 2, 2023CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.12.0
- Affected versionversion=0.12.1
- Affected versionversion=0.12.2
- Affected versionversion=0.12.3
- Affected versionversion=0.12.4
- Affected versionversion=0.12.5
- Affected versionversion=0.12.6
- Affected versionversion=0.12.7
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo