GHSA-34r7-q49f-h37c

Suggest an improvement
Source
https://github.com/advisories/GHSA-34r7-q49f-h37c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-34r7-q49f-h37c/GHSA-34r7-q49f-h37c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-34r7-q49f-h37c
Aliases
Published
2017-10-24T18:33:36Z
Modified
2024-02-16T08:16:42.823655Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

References

Affected packages

npm / uglify-js

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.24

RubyGems / uglifier

Package

Name
uglifier
Purl
pkg:gem/uglifier

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.2

Affected versions

0.*

0.1.0
0.1.1
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.5.2
0.5.3
0.5.4

1.*

1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.2.7
1.3.0

2.*

2.0.0
2.0.1
2.1.0
2.1.1
2.1.2
2.2.0
2.2.1
2.3.0
2.3.1
2.3.2
2.3.3
2.4.0
2.5.0
2.5.1
2.5.3
2.6.0
2.6.1
2.7.0
2.7.1