Polynomial Inefficiency in reTrimSpace Regex in Denosaurs Emoji Package

Polynomial Inefficiency in reTrimSpace Regex in Denosaurs Emoji Package

CVE-2023-30858 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

The Denosaurs emoji package provides emojis for dinosaurs. Starting in version 0.1.0 and prior to version 0.3.0, the reTrimSpace regex has 2nd degree polynomial inefficiency, leading to a delayed response given a big payload. The issue has been patched in 0.3.0. As a workaround, avoid using the `replace`, `unemojify`, or `strip` functions.

Learn more about our Web Application Penetration Testing UK.