CVE-2023-30858

high

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.

References

https://huntr.dev/bounties/444f2255-5085-466f-ba0e-5549fa8846a3/

https://github.com/denosaurs/emoji/security/advisories/GHSA-w2xx-hjhp-gx5v

https://github.com/denosaurs/emoji/pull/11

Details

Source: Mitre, NVD

Published: 2023-04-28

Updated: 2023-05-08

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High