mirror of
https://github.com/netbirdio/advisory-database.git
synced 2026-05-22 18:04:22 -07:00
Publish GHSA-952p-6rrq-rcjv
This commit is contained in:
+33
-9
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user