Skip to main content
Public proof of conceptFix available

CVE-2021-35065

A public proof of concept exists; no exploitation attested.

  • Published2022-12-26
  • Fixed in6.0.1
  • WeaknessCWE-1333

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

The glob-parent package before 6.0.1 for Node.js allows ReDoS (regular expression denial of service) attacks against the enclosure regular expression.

Timeline

dates in UTC
  1. 2022-12-2607:15CVE publishedNVD

Versions per branch

NVD · OSV
Gulpjs glob-parent
BranchAffectedFixed in
6.0≥ 6.0.0, < 6.0.16.0.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • node-glob-parentUbuntu:20.04:LTSall versions · no fixed version listed
  • node-glob-parentUbuntu:18.04:LTSall versions · no fixed version listed
  • node-glob-parentDebian:14all versions · fixed in 6.0.2+~5.1.1-1
  • node-glob-parentDebian:13all versions · fixed in 6.0.2+~5.1.1-1
  • node-glob-parentDebian:12all versions · fixed in 6.0.2+~5.1.1-1
  • nodejsRocky Linux:8all versions · fixed in 1:14.21.3-1.module+el8.7.0+1183+c2c35f0a
  • nodejsRocky Linux:8all versions · fixed in 1:16.19.1-1.module+el8.7.0+1178+d52dba78
  • nodejsRocky Linux:8all versions · fixed in 1:18.14.2-2.module+el8.7.0+1177+510ae886

58 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-35065 Red Hat Product Security268 products fixed · 41 known affected

    glob-parent: Regular Expression Denial of Service

    migration-toolkit-virtualization/mtv-ui-rhel8 as a component of Migration Toolkit for Virtualization · openshift-pipelines/pipelines-hub-ui-rhel8 as a component of OpenShift Pipelines · openshift-service-mesh/kiali-rhel8 as a component of OpenShift Service Mesh 2.1 · +38 more

  • RHSA-2025:19094 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.24.0 Release.

  • RHSA-2023:2655 Red Hat Product Security36 products fixed

    Red Hat Security Advisory: nodejs and nodejs-nodemon security, bug fix, and enhancement update

  • RHSA-2023:2654 Red Hat Product Security31 products fixed

    Red Hat Security Advisory: nodejs:18 security, bug fix, and enhancement update

  • RHSA-2023:1742 Red Hat Product Security30 products fixed

    Red Hat Security Advisory: nodejs:14 security, bug fix, and enhancement update

  • RHSA-2023:1743 Red Hat Product Security30 products fixed

    Red Hat Security Advisory: nodejs:14 security, bug fix, and enhancement update

11 more advisories

Full record on NVD

Fix

  1. Update Gulpjs glob-parent to 6.0.1
  2. Vendor fix Red Hat Product Security RHSA-2025:19094 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2023:2655 · 36 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  4. Vendor fix Red Hat Product Security RHSA-2023:1043 · 3 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2022-12-26
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-cj88-88mr-972w

Frequently asked questions

What is CVE-2021-35065?

The glob-parent package before 6.0.1 for Node.js allows ReDoS (regular expression denial of service) attacks against the enclosure regular expression.

Is CVE-2021-35065 actively exploited?

A proof-of-concept exploit exists for CVE-2021-35065, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2021-35065?

CVE-2021-35065 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running glob-parent? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record