CVE-2015-8857
The uglify-js package before 2.4.24 for Node.js does not properly acco ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Ruby Advisory DB. Rated lower by Node.js Security WG (high).
Description
The uglify-js package before 2.4.24 for Node.js does not properly account for non-boolean values when rewriting boolean expressions, which might allow attackers to bypass security mechanisms or possibly have unspecified other impact by leveraging improperly rewritten Javascript.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | uglify-js | 2.4.24 |
| rubygems::GitHub Security Advisory RubyGems | uglifier | 2.7.2 |
| rubygems::Ruby Advisory Database | uglifier | >= 2.7.2 |
| debian 11 | uglifyjs | 2.7.4-1 |
| debian 13 | uglifyjs | 2.7.4-1 |
| echo | uglifyjs | 2.7.4-1 |
| npm::Node.js Ecosystem Security Working Group | uglify-js | >= 2.4.24 |
References
- http://www.openwall.com/lists/oss-security/2016/04/20/11
- http://www.securityfocus.com/bid/96410
- https://blog.azuki.vip/backdooring-js
- https://github.com/advisories/GHSA-34r7-q49f-h37c
- https://github.com/lautis/uglifier/commit/4677bfe38142937ff952f95605bcec4618892c3e
- https://github.com/mishoo/UglifyJS/issues/751
- https://github.com/mishoo/UglifyJS2
- https://github.com/mishoo/UglifyJS2/issues/751
All 15 references
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uglifier/CVE-2015-8857.yml
- https://nodesecurity.io/advisories/39
- https://nvd.nist.gov/vuln/detail/CVE-2015-8857
- https://web.archive.org/web/20200227190830/http://www.securityfocus.com/bid/96410
- https://www.openwall.com/lists/oss-security/2016/04/20/11
- https://zyan.scripts.mit.edu/blog/backdooring-js
- https://zyan.scripts.mit.edu/blog/backdooring-js/