CVE-2023-30858 - CVE House
Back to Database
Status published Medium CVE-2023-30858

Denosaurs emoji has ReDoS vulnerability in `replace` function

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2023-30858

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

emoji
Vulnerable Versions:
< 0.3.0

Timeline

Official Publish: April 28th, 2023
Last Modified: January 30th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

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

Weaknesses (CWE)