GitHub Advisoryadvisory · npm

GHSA-p6mr-pxg4-68hx Symlink Arbitrary File Overwrite in bower

HIGH Published 2019-09-17 Modified 2023-03-01 Official page ↗
Aliases
CVE-2019-5484
Ecosystem
npm
Packages
bower
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-22
Reviewed
2019-09-17

Affected packages

• npm bower: < 1.8.8 → fixed in 1.8.8

Description

Versions of `bower` prior to 1.8.8 are affected by an arbitrary file write vulnerability. The vulnerability occurs because `bower` does not verify that extracted symbolic links do not resolve to targets outside of the extraction root directory. Recommendation Update to version 1.8.8 or later

Related

Alias · CVE (1)

  • CVE-2019-5484 Bower before 1.8.8 has a path traversal vulnerability permitting file write in arbitrary locations via install command, which allows… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References