Skip to content

glob-parent (npm)

Extract the non-magic parent path from a glob string.

Advisories
2
Latest version
6.0.2
Released Sep 29, 2021
License
ISC
OpenSSF Scorecard
3.7 / 10

How to fix

Upgrading to 6.0.1 or later clears every advisory below that has a fix.

Upgrade commands
npm
npm install glob-parent@6.0.2
yarn
yarn add glob-parent@6.0.2
pnpm
pnpm add glob-parent@6.0.2

Known vulnerabilities

AdvisorySeverityAffectedFixed in
GHSA-cj88-88mr-972w
glob-parent 6.0.0 vulnerable to Regular Expression Denial of Service
High
EPSS 1.70%
>= 6.0.0, < 6.0.1
6.0.1
GHSA-ww39-953v-wcq6
glob-parent vulnerable to Regular Expression Denial of Service in enclosure regex
High
EPSS 4.58%
>= 4.0.0, < 5.1.2
5.1.2

Source: git+https://github.com/gulpjs/glob-parent.git

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor