{"id":"CVE-2023-30858","published":"2023-04-28T20:49:26Z","modified":"2025-01-30T18:44:30Z","title":"Denosaurs emoji has ReDoS vulnerability in `replace` function","vendor":"denosaurs","product":"emoji","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0121,"percentile":0.68328,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/denosaurs/emoji/security/advisories/GHSA-w2xx-hjhp-gx5v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/denosaurs/emoji/pull/11","tags":["x_refsource_MISC"]},{"url":"https://huntr.dev/bounties/444f2255-5085-466f-ba0e-5549fa8846a3/","tags":["x_refsource_MISC"]}],"priority":{"score":17.4,"factors":[{"name":"EPSS percentile","points":13.67},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"denosaurs","affectedVersions":[{"vendor":"denosaurs","product":"emoji","versions":["< 0.3.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-01-30T18:44:21.902156Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-35201","exploited":false,"provenance":"source"}}