CVEvulnerability
CVE-2023-30858
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2023-04-28
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333
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 configurations
• denosaurs emoji (>= 0.1.0 < 0.3.0)
Related
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://github.com/denosaurs/emoji/pull/11 Patch
- https://github.com/denosaurs/emoji/security/advisories/GHSA-w2xx-hjhp-gx5v Vendor Advisory
- https://huntr.dev/bounties/444f2255-5085-466f-ba0e-5549fa8846a3/ Exploit
- https://github.com/denosaurs/emoji/pull/11 Patch
- https://github.com/denosaurs/emoji/security/advisories/GHSA-w2xx-hjhp-gx5v Vendor Advisory
- https://huntr.dev/bounties/444f2255-5085-466f-ba0e-5549fa8846a3/ Exploit