Financial-Times / n-service-worker

❌ DECOMMISSIONED Global service worker component for next.ft.com
5 stars 2 forks source link

Update bower to v1.8.8 #165

Closed sjparkinson closed 5 years ago

sjparkinson commented 5 years ago

Bower 1.8.4 is vulnerable to "Arbitrary File Write via Archive Extraction (Zip Slip)".

Attackers can write arbitrary files when a malicious archive is extracted.

It is exploited using a specially crafted zip archive, that holds path traversal filenames. When exploited, a filename in a malicious archive is concatenated to the target extraction directory, which results in the final path ending up outside of the target folder. For instance, a zip may hold a file with a "../../file.exe" location and thus break out of the target folder. If an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily.

See https://snyk.io/vuln/SNYK-JS-BOWER-73627 for more information.