Description
slug is a module to slugify strings, even if they contain unicode. slug is vulnerable to regular expression denial of service is specially crafted untrusted input is passed as input. About 50k characters can block the event loop for 2 seconds.
Remediation
References
https://github.com/dodo/node-slug/issues/82
https://nodesecurity.io/advisories/537
Related Vulnerabilities
CVE-2011-4838 Vulnerability in maven package org.jruby:jruby
CVE-2014-9515 Vulnerability in maven package com.github.dozermapper:dozer-parent
CVE-2020-7726 Vulnerability in npm package safe-object2
CVE-2017-16167 Vulnerability in npm package yyooopack
CVE-2022-40149 Vulnerability in maven package org.codehaus.jettison:jettison