CVE-2023-30858
5.3medium
Denosaurs emoji has ReDoS vulnerability in `replace` function
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.21% (higher than 68% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| denosaurs emoji | < 0.3.0, from 0.1.0 before 0.3.0 | CVE List, NVD |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-30858 changed 2025-01-30 | CVE Terms of Use |
| NVD | CVE-2023-30858 changed 2026-06-17 | Public domain |