diff --git a/advisories/unreviewed/2024/05/GHSA-952p-6rrq-rcjv/GHSA-952p-6rrq-rcjv.json b/advisories/github-reviewed/2024/05/GHSA-952p-6rrq-rcjv/GHSA-952p-6rrq-rcjv.json similarity index 67% rename from advisories/unreviewed/2024/05/GHSA-952p-6rrq-rcjv/GHSA-952p-6rrq-rcjv.json rename to advisories/github-reviewed/2024/05/GHSA-952p-6rrq-rcjv/GHSA-952p-6rrq-rcjv.json index aae5ba408ab..1c8de80f19e 100644 --- a/advisories/unreviewed/2024/05/GHSA-952p-6rrq-rcjv/GHSA-952p-6rrq-rcjv.json +++ b/advisories/github-reviewed/2024/05/GHSA-952p-6rrq-rcjv/GHSA-952p-6rrq-rcjv.json @@ -1,20 +1,36 @@ { "schema_version": "1.4.0", "id": "GHSA-952p-6rrq-rcjv", - "modified": "2024-05-14T18:30:54Z", + "modified": "2024-08-21T22:58:53Z", "published": "2024-05-14T18:30:54Z", "aliases": [ "CVE-2024-4067" ], + "summary": "Regular Expression Denial of Service (ReDoS) in micromatch", "details": "The NPM package `micromatch` is vulnerable to Regular Expression Denial of Service (ReDoS). The vulnerability occurs in `micromatch.braces()` in `index.js` because the pattern `.*` will greedily match anything. By passing a malicious payload, the pattern matching will keep backtracking to the input while it doesn't find the closing bracket. As the input size increases, the consumption time will also increase until it causes the application to hang or slow down. There was a merged fix but further testing shows the issue persists. This issue should be mitigated by using a safe pattern that won't start backtracking the regular expression due to greedy matching.\n", "severity": [ - { - "type": "CVSS_V3", - "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" - } + ], "affected": [ - + { + "package": { + "ecosystem": "npm", + "name": "micromatch" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "last_affected": "4.0.7" + } + ] + } + ] + } ], "references": [ { @@ -29,10 +45,18 @@ "type": "WEB", "url": "https://github.com/micromatch/micromatch/pull/247" }, + { + "type": "WEB", + "url": "https://github.com/micromatch/micromatch/commit/d1641baf261e42ea437f3750c44f20cec0b33e1b" + }, { "type": "WEB", "url": "https://devhub.checkmarx.com/cve-details/CVE-2024-4067" }, + { + "type": "PACKAGE", + "url": "https://github.com/micromatch/micromatch" + }, { "type": "WEB", "url": "https://github.com/micromatch/micromatch/blob/2c56a8604b68c1099e7bc0f807ce0865a339747a/index.js#L448" @@ -42,9 +66,9 @@ "cwe_ids": [ "CWE-1333" ], - "severity": "HIGH", - "github_reviewed": false, - "github_reviewed_at": null, + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-08-21T22:58:52Z", "nvd_published_at": "2024-05-14T15:42:47Z" } } \ No newline at end of file