{"resultsPerPage":1,"startIndex":0,"totalResults":1,"format":"NVD_CVE","version":"2.0","timestamp":"2026-06-28T19:00:02.493","vulnerabilities":[{"cve":{"id":"CVE-2024-4067","sourceIdentifier":"596c5446-0ce5-4ba2-aa66-48b3b757a647","published":"2024-05-14T15:42:47.947","lastModified":"2026-06-17T08:01:02.453","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"The NPM package `micromatch` prior to 4.0.8 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. This issue was fixed in version 4.0.8."},{"lang":"es","value":"El paquete NPM `micromatch` es vulnerable a la denegación de servicio de expresión regular (ReDoS). La vulnerabilidad ocurre en `micromatch.braces()` en `index.js` porque el patrón `.*` coincidirá con avidez con cualquier cosa. Al pasar un payload malicioso, la coincidencia de patrones seguirá retrocediendo hasta la entrada hasta que no encuentre el corchete de cierre. A medida que aumenta el tamaño de la entrada, el tiempo de consumo también aumentará hasta provocar que la aplicación se cuelgue o se ralentice. Hubo una solución combinada, pero pruebas adicionales muestran que el problema persiste. Este problema se debe mitigar mediante el uso de un patrón seguro que no comience a retroceder la expresión regular debido a coincidencias codiciosas."}],"affected":[{"source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","affectedData":[{"vendor":"micromatch","product":"micromatch","defaultStatus":"unaffected","collectionURL":"https://www.npmjs.com/package/micromatch","packageName":"micromatch","programFiles":["index.js"],"programRoutines":[{"name":"micromatch.braces = (pattern, options) =>"}],"repo":"https://github.com/micromatch/micromatch","versions":[{"version":"0","lessThan":"4.0.8","versionType":"cpe","status":"affected"},{"version":"4.0.8","versionType":"cpe","status":"unaffected"}]}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","affectedData":[{"vendor":"micromatch","product":"micromatch","defaultStatus":"unknown","cpes":["cpe:2.3:a:micromatch:micromatch:*:*:*:*:*:*:*:*"],"versions":[{"version":"0","lessThan":"4.0.8","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW"},"exploitabilityScore":3.9,"impactScore":1.4},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW"},"exploitabilityScore":3.9,"impactScore":1.4}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-05-13T16:30:13.286431Z","id":"CVE-2024-4067","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","type":"Secondary","description":[{"lang":"en","value":"CWE-1333"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:jonschlinkert:micromatch:*:*:*:*:*:node.js:*:*","versionEndExcluding":"4.0.8","matchCriteriaId":"39927CB0-B3B1-40B8-8F67-F4B0E930D56C"}]}]}],"references":[{"url":"https://advisory.checkmarx.net/advisory/CVE-2024-4067/","source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","tags":["Exploit","Third Party Advisory"]},{"url":"https://devhub.checkmarx.com/cve-details/CVE-2024-4067/","source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","tags":["Third Party Advisory"]},{"url":"https://github.com/micromatch/micromatch/commit/03aa8052171e878897eee5d7bb2ae0ae83ec2ade","source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","tags":["Patch"]},{"url":"https://github.com/micromatch/micromatch/pull/266","source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/micromatch/micromatch/releases/tag/4.0.8","source":"596c5446-0ce5-4ba2-aa66-48b3b757a647","tags":["Release Notes"]},{"url":"https://devhub.checkmarx.com/cve-details/CVE-2024-4067/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://github.com/micromatch/micromatch/blob/2c56a8604b68c1099e7bc0f807ce0865a339747a/index.js#L448","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"]},{"url":"https://github.com/micromatch/micromatch/issues/243","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking"]},{"url":"https://github.com/micromatch/micromatch/pull/247","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Patch"]}]}}]}