CVE-2022-37598
uglify-js: Prototype pollution vulnerability in function DEFNODE in ast.js
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium).
Description
Prototype pollution vulnerability in function DEFNODE in ast.js in mishoo UglifyJS 3.13.2 via the name variable in ast.js. NOTE: the vendor considers this an invalid report.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | uglify-js, uglifyjs | no fix listed |
| debian 12 | uglify-js | no fix listed |
| debian 13 | uglify-js, uglifyjs | no fix listed |
| debian 14 | uglify-js | no fix listed |
| echo | uglify-js, uglifyjs | no fix listed |
| rapidfort debian 12 | uglify-js, uglifyjs | no fix listed |
| rapidfort debian 13 | uglify-js, uglifyjs | no fix listed |
| Red Hat | cockpit-ceph-installer, servicemesh-grafana, servicemesh-grafana-prometheus and 1 more | no fix listed |
Show all 16 entries from 8 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | uglify-js | no fix listed |
| debian 11 | uglifyjs | no fix listed |
| debian 12 | uglify-js | no fix listed |
| debian 13 | uglify-js | no fix listed |
| debian 13 | uglifyjs | no fix listed |
| debian 14 | uglify-js | no fix listed |
| echo | uglify-js | no fix listed |
| echo | uglifyjs | no fix listed |
| rapidfort debian 12 | uglify-js | no fix listed |
| rapidfort debian 12 | uglifyjs | no fix listed |
| rapidfort debian 13 | uglify-js | no fix listed |
| rapidfort debian 13 | uglifyjs | no fix listed |
| Red Hat | cockpit-ceph-installer | no fix listed |
| Red Hat | servicemesh-grafana | no fix listed |
| Red Hat | servicemesh-grafana-prometheus | no fix listed |
| Red Hat | servicemesh-prometheus | no fix listed |
References
- https://access.redhat.com/security/cve/CVE-2022-37598
- https://github.com/mishoo/UglifyJS/blob/352a944868b09c9ce3121a49d4a0bf0afe370a35/lib/ast.js#L46
- https://github.com/mishoo/UglifyJS/blob/352a944868b09c9ce3121a49d4a0bf0afe370a35/lib/ast.js#L79
- https://github.com/mishoo/UglifyJS/issues/5699
- https://github.com/mishoo/UglifyJS/issues/5699#issuecomment-1315927228
- https://github.com/mishoo/UglifyJS/issues/5721#issuecomment-1292849604
- https://nvd.nist.gov/vuln/detail/CVE-2022-37598
- https://www.cve.org/CVERecord?id=CVE-2022-37598