-
-
Notifications
You must be signed in to change notification settings - Fork 750
Closed
Description
Hello,
I'm unable to install typedoc in an environment that uses a Sonatype Nexus firewall. The installation is blocked when it attempts to download [email protected].
The firewall is flagging lunr for vulnerability sonatype-2021-1683, which is coming from an old mocha version vulnerable to ReDoS.
Here is what my investigation found:
- The vulnerability appears to originate from a
mochadependency within thelunrpackage. - The
mochateam has already addressed this issue, referenced in ReDoS mochajs/mocha#4766 and fix the regular expression for functioncleaninutils.jsmochajs/mocha#4770. - The
lunr.jsrepository itself appears to be inactive. I have also opened an issue there to report this: Security vulnerability mocha package vulnerable to ReDoS olivernn/lunr.js#544.
I have not opened a pull request, as it seems a proper fix would involve a larger decision about the lunr.js dependency itself, given its status.
Thank you.
Metadata
Metadata
Assignees
Labels
No labels