CVE-2023-30858
JSON

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 packageVersionsReported by
denosaurs emoji< 0.3.0, from 0.1.0 before 0.3.0CVE List, NVD

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-1333

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-30858 changed 2025-01-30CVE Terms of Use
NVDCVE-2023-30858 changed 2026-06-17Public domain