CRITICAL9.8
GHSA-34r7-q49f-h37c
Incorrect Handling of Non-Boolean Comparisons During Minification in uglify-js
Quick fix
GHSA-34r7-q49f-h37c — uglify-js: upgrade to the fixed version with the command below.
npm install uglify-js@2.4.24Details
Versions of `uglify-js` prior to 2.4.24 are affected by a vulnerability which may cause crafted JavaScript to have altered functionality after minification.
## Recommendation
Upgrade UglifyJS to version >= 2.4.24.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-8857[ADVISORY]
- https://github.com/mishoo/UglifyJS2/issues/751[WEB]
- https://github.com/lautis/uglifier/commit/4677bfe38142937ff952f95605bcec4618892c3e[WEB]
- https://github.com/mishoo/UglifyJS2[PACKAGE]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uglifier/CVE-2015-8857.yml[WEB]
- https://web.archive.org/web/20200227190830/http://www.securityfocus.com/bid/96410[WEB]
- https://zyan.scripts.mit.edu/blog/backdooring-js[WEB]
- http://www.openwall.com/lists/oss-security/2016/04/20/11[WEB]