CVE-2023-30858Published Apr 28, 2023 · Apr 28Updated Oct 28
Denosaurs emoji has ReDoS vulnerability in `replace` function
denosaurs emoji
Medium5.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| denosaurs emoji |
| No fix yet |
Original description
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.
From the CVE record · GitHub_M