Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2022-25858 | Unknown #1759

Closed
sandeepmahajan11 opened this issue Aug 23, 2022 · 2 comments
Closed

CVE-2022-25858 | Unknown #1759

sandeepmahajan11 opened this issue Aug 23, 2022 · 2 comments

Comments

@sandeepmahajan11
Copy link

Current behavior 💣

CVE-2022-25858 | Unknown
terser is vulnerable to regular expression denial of service. The
vulnerability exists in index.js and evaluate.js because regular
expressions used are not properly handled which allows an attacker
to send crafted requests which causes an application crash

path of the issue:
file9579178566_1660814181915_html/WebUI_18_08_2022.2/node_modules/terser

Expected behavior ☀️

The latest version(5.14.2) of "terser" should be used.

Reproduction Example 👾

  1. Install the library in any sample project.
  2. Scan the sample project binaries with "Veracode" or any other security tool.

Environment 🖥

This is a security issue and can be reproduced in any environment by scanning the library with any security tool.
MicrosoftTeams-image

@JesseDahl
Copy link

Here's the pending pull request for this issue

#1761

@alexander-akait
Copy link
Collaborator

We can't update it currently due https://github.com/terser/html-minifier-terser/blob/master/package.json#L44, we still support node.js v10, but we want to make a major release soon and drop old Node.js versions and update deps, the original problem was solved by terser, so just update your transitive deps, sorry for delay and feel free to feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants