CVE-2015-8857
critical
CVSS v3
9.8
CVSS v4 NEW
โ
VIR risk
9.8
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.
Predictions
Exploit likelihood
97%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 3 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.7.4-1 |
| sid | Fixed | 2.7.4-1 |
| bullseye | Fixed | 2.7.4-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| uglifyjs_project | uglifyjs | {"endExcluding":"2.4.24"} | 2.4.24 |
References
- https://github.com/mishoo/UglifyJS2/issues/751
- http://www.openwall.com/lists/oss-security/2016/04/20/11
- http://www.securityfocus.com/bid/96410
- https://nodesecurity.io/advisories/39
- https://nvd.nist.gov/vuln/detail/CVE-2015-8857
- https://github.com/lautis/uglifier/commit/4677bfe38142937ff952f95605bcec4618892c3e
- https://github.com/mishoo/UglifyJS2
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/uglifier/CVE-2015-8857.yml
- https://web.archive.org/web/20200227190830/http://www.securityfocus.com/bid/96410
- https://zyan.scripts.mit.edu/blog/backdooring-js
- https://security-tracker.debian.org/tracker/CVE-2015-8857
CWEs
CWE-254
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.