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.
https://snyk.io/blog/severe-security-vulnerability-in-bowers-zip-archive-extraction
https://hackerone.com/reports/473811
https://github.com/bower/bower/commit/45c6bfa86f6e57731b153baca9e0b41a1cc699e3