Skip to main content
← All vulnerabilities
CVE-2023-30858

Denosaurs emoji has ReDoS vulnerability in `replace` function

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.3.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • denosaurs emoji

    fixed in 0.3.0

References 3

GitHub · denosaurs/emoji

huntr.dev