CVEfocus › CVE database › CVE-2015-8857

CVE-2015-8857

CVSS 9.8 CriticalEPSS 3.6% (higher than 90% of CVEs)Published 2017-01-23Updated 2024-08-06Assigner: mitre

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.

What to do

Fixed builds are available from Debian, RubyGems, npm: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
2Fix pending
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04uglifyjsNot affected
vulnerable_code_not_present
Ubuntu 25.10uglifyjsNot affected
vulnerable_code_not_present
Ubuntu 24.04uglifyjsNot affected
vulnerable_code_not_present
Ubuntu 22.04uglifyjsNot affected
vulnerable_code_not_present
Ubuntu 20.04uglifyjsNot affected
vulnerable_code_not_present
Ubuntu 18.04uglifyjsNot affected
vulnerable_code_not_present
Ubuntu 16.04uglifyjsFix pendingUBUNTU-CVE-2015-8857
Ubuntu 14.04uglifyjsFix pending
Debian 13uglifyjsFixed2.7.4-1DEBIAN-CVE-2015-8857
RubyGems libraryuglifierFixed2.7.2GHSA-34r7-q49f-h37c
npm libraryuglify-jsFixed2.4.24GHSA-34r7-q49f-h37c

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.