Description
Bower before 1.8.8 has a path traversal vulnerability permitting file write in arbitrary locations via install command, which allows attackers to write arbitrary files when a malicious package is extracted.
Remediation
References
https://github.com/bower/bower/commit/45c6bfa86f6e57731b153baca9e0b41a1cc699e3
https://hackerone.com/reports/473811
https://lists.apache.org/thread.html/r8ba4c628fba7181af58817d452119481adce4ba92e889c643e4c7dd3%40%3Ccommits.netbeans.apache.org%3E
https://lists.apache.org/thread.html/rb5ac16fad337d1f3bb7079549f97d8166d0ef3082629417c39f12d63%40%3Cnotifications.netbeans.apache.org%3E
https://snyk.io/blog/severe-security-vulnerability-in-bowers-zip-archive-extraction
Related Vulnerabilities
CVE-2018-8039 Vulnerability in maven package org.apache.cxf:cxf-rt-transports-http
CVE-2022-36437 Vulnerability in maven package com.hazelcast.jet:hazelcast-jet-enterprise
CVE-2020-36649 Vulnerability in maven package org.webjars.bowergithub.mholt:papaparse
CVE-2020-28279 Vulnerability in npm package flattenizer
CVE-2021-21290 Vulnerability in maven package io.netty:netty-transport-native-epoll