CVE-2015-8857
critical
CVSS v3
9.8
CVSS v2
7.5
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
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2015-8857
Vendor advisory: cve@mitre.org — https://nodesecurity.io/advisories/39
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bullseye | fixed | 2.7.4-1 |
| debian | sid | fixed | 2.7.4-1 |
| debian | trixie | 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
Verify integrity in audit chain (admin only). AS-IS.