CVE-2015-8857 json
Incorrect Handling of Non-Boolean Comparisons During Minification in uglify-js
published 9y ago modified 4mo ago also GHSA-34r7-q49f-h37c , EUVD-2017-0154
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.6%
- EPSS 3.6% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm uglify-js 2.4.24
- rubygems uglifier 2.7.2
- uglifyjs_project uglifyjs 2.4.24
- uglifyjs Debian 13 2.7.4-1
debian advisories DEBIAN-CVE-2015-8857
- github.com/lautis/uglifier@4677bfe commit
- nodesecurity.io/advisories/39 advisory
Is CVE-2015-8857 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-8857 updated cvss 2.6
uglify-js: Incorrect Handling of Non-Boolean Comparisons During Minification
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.56% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- nodesecurity.io https://nodesecurity.io/advisories/39 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | uglify-js | <2.4.24 |
2.4.24 |
| rubygems | uglifier | <2.7.2 |
2.7.2 |
Classification
References
-
nodesecurity.io
/advisories/39
exploit, patch, vendor-advisory
-
github.com
/lautis/uglifier/commit/4677bfe38142937ff952f95605bcec4618892c3e
web
-
securityfocus.com
/bid/96410
vdb-entry, third-party-advisory
-
openwall.com
/lists/oss-security/2016/04/20/11
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2015-8857
advisory
-
github.com
/mishoo/UglifyJS2/issues/751
web
-
github.com
/mishoo/UglifyJS2
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/uglifier/CVE-2015-8857.yml
web
-
web.archive.org
/web/20200227190830/http://www.securityfocus.com/bid/96410
web
-
zyan.scripts.mit.edu
/blog/backdooring-js
web
Sources
- CVE List CVE-2015-8857
- GitHub Advisory GHSA-34r7-q49f-h37c
- NVD CVE-2015-8857
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.