{"id":"CVE-2015-8857","published":"2017-01-23T21:00:00Z","modified":"2024-08-06T08:29:22Z","title":"The uglify-js package before 2.4.24 for Node.js does not properly account for non-boolean values when rewriting…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03559,"percentile":0.89603,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/96410","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://nodesecurity.io/advisories/39","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/04/20/11","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":17.92}]},"affected":[{"ecosystem":"npm","package":"uglify-js","vulnerableRanges":["<2.4.24"],"patched":["2.4.24"],"from":["GHSA-34r7-q49f-h37c"],"provenance":"source"},{"ecosystem":"RubyGems","package":"uglifier","vulnerableRanges":["<2.7.2"],"patched":["2.7.2"],"from":["GHSA-34r7-q49f-h37c"],"provenance":"source"}],"summary":{"text":"The uglify-js package for Node.js, in versions before 2.4.24, mishandles non-boolean values when it rewrites boolean expressions during JavaScript minification. The flaw is in the minifier's code-rewriting logic itself. An attacker who can supply JavaScript that is processed by the affected uglify-js build may be able to bypass security mechanisms or cause other unspecified impact, because the improperly rewritten output changes the code's intended behaviour.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:51Z"},"euvd":{"id":"EUVD-2017-0154","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2015-8857","published":"2017-01-23","fixed":"2.4.24","kev":false},{"cve":"CVE-2015-8858","published":"2017-01-23","fixed":"2.6.0","kev":false,"link":{"from":"CVE-2015-8857","to":"CVE-2015-8858","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:uglify-js","fromFixed":"2.4.24","toFixed":"2.6.0","daysApart":0},{"kind":"similar","provenance":"machine","score":0.33,"basis":"same package + description similarity"}]}}],"package":"npm:uglify-js"}}