Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. uglify-js
  4. ›
  5. GMS-2015-24

GMS-2015-24: Backdooring via erroneous minifcation of boolean expression

August 24, 2015

There’s a vulnerability which allows a specially crafted Javascript file to have altered functionality after minification. This bug was demonstrated to allow potentially malicious code to be hidden within secure code, activated by minification. Affected versions erroneously minify boolean expressions.

References

  • github.com/mishoo/UglifyJS2/issues/751
  • zyan.scripts.mit.edu/blog/backdooring-js/

Code Behaviors & Features

Detect and mitigate GMS-2015-24 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.4.24

Fixed versions

  • 2.4.24

Solution

Upgrade to version 2.4.24 or above.

Source file

npm/uglify-js/GMS-2015-24.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:14 +0000.