{"id":"CVE-2020-28469","published":"2021-06-03T15:15:13Z","modified":"2024-09-16T18:43:30Z","title":"Regular Expression Denial of Service (ReDoS)","vendor":null,"product":null,"tier":"tail","description":{"text":"This affects the package glob-parent before 5.1.2. The enclosure regex used to check for strings ending in enclosure containing path separator.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04579,"percentile":0.91842,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-GLOBPARENT-1016905","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1059092","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBES128-1059093","tags":["x_refsource_MISC"]},{"url":"https://github.com/gulpjs/glob-parent/blob/6ce8d11f2f1ed8e80a9526b1dc8cf3aa71f43474/index.js%23L9","tags":["x_refsource_MISC"]},{"url":"https://github.com/gulpjs/glob-parent/pull/36","tags":["x_refsource_MISC"]},{"url":"https://github.com/gulpjs/glob-parent/releases/tag/v5.1.2","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC"]}],"priority":{"score":22.1,"factors":[{"name":"EPSS percentile","points":18.37},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":"n/a","product":"glob-parent","versions":[">= unspecified, < 5.1.2"]}],"affected":[{"ecosystem":"npm","package":"glob-parent","vulnerableRanges":[">=4.0.0, <5.1.2"],"patched":["5.1.2"],"from":["GHSA-ww39-953v-wcq6"],"provenance":"source"}],"summary":{"text":"The flaw is a Regular Expression Denial of Service (ReDoS) vulnerability in the glob-parent package, affecting versions before 5.1.2, specifically in the enclosure regex used to check for strings ending in an enclosure containing a path separator. An attacker able to supply input to the affected glob-parent code path over the network, without authentication or user interaction, can trigger excessive regex backtracking that exhausts resources and degrades availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:05:06Z"},"euvd":{"id":"EUVD-2021-1421","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-glob-parent-cve-2020-28469","children":[{"from":"CVE-2020-28469","to":"CVE-2021-35065","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/gulpjs/glob-parent/commit/c6db86422a9731d4f3d332ce4a81c27ea6b0ee46","https://github.com/gulpjs/glob-parent/commit/4a80667c69355c76a572a5892b0f133c8e1f457e","https://github.com/gulpjs/glob-parent/commit/3e9f04a3b4349db7e1962d87c9a7398cda51f339","https://github.com/gulpjs/glob-parent/commit/32f6d52663b7addac38d0dff570d8127edf03f47"],"basis":"shared function","functions":["globParent"]},{"kind":"similar","provenance":"machine","score":0.51,"basis":"same package + description similarity"}]}]}}