PT-2021-15456 · Printf · Printf
Yeting Li
·
Published
2021-03-12
·
Updated
2023-08-08
·
CVE-2021-23354
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
printf versions prior to 0.6.1
Description
The issue concerns a Regular Expression Denial of Service (ReDoS) vulnerability via a regex string in lib/printf.js. The vulnerable regular expression has cubic worst-case time complexity, which can be exploited.
Recommendations
For versions prior to 0.6.1, update to version 0.6.1 or later to resolve the issue. As a temporary workaround, consider restricting the use of the vulnerable regex string in lib/printf.js until a patch is available.
Exploit
Fix
DoS
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Printf