Advisory

GHSA-34r7-q49f-h37c

Also known as: CVE-2015-8857

Summary

Incorrect Handling of Non-Boolean Comparisons During Minification in uglify-js

Details

Versions of uglify-js prior to 2.4.24 are affected by a vulnerability which may cause crafted JavaScript to have altered functionality after minification.

Recommendation

Upgrade UglifyJS to version >= 2.4.24.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2017-10-24 18:33 UTC
Modified
2024-02-16 08:16 UTC

Affected packages and fixes

uglify-js

npm · All systems

Affected

  • introduced 0, fixed 2.4.24 (semver)

Fixed versions

2.4.24

Fix

uglifier

RubyGems · All systems

Affected

  • introduced 0, fixed 2.7.2 (ecosystem)

Fixed versions

2.7.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences