{"id":"CVE-2021-3795","sourceIdentifier":"security@huntr.dev","published":"2021-09-15T17:15:10.577","lastModified":"2026-06-17T04:05:47.033","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"semver-regex is vulnerable to Inefficient Regular Expression Complexity"},{"lang":"es","value":"semver-regex es vulnerable a una Complejidad de Expresión Regular Ineficiente"}],"affected":[{"source":"security@huntr.dev","affectedData":[{"vendor":"sindresorhus","product":"sindresorhus/semver-regex","versions":[{"version":"unspecified","lessThan":"4.0.1","versionType":"custom","status":"affected"},{"version":"unspecified","lessThan":"3.1.3","versionType":"custom","status":"affected"},{"version":"3.1.3","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"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:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"cvssMetricV30":[{"source":"security@huntr.dev","type":"Secondary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","baseScore":5.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":10.0,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"security@huntr.dev","type":"Secondary","description":[{"lang":"en","value":"CWE-1333"}]},{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-1333"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:semver-regex_project:semver-regex:*:*:*:*:*:*:*:*","versionEndExcluding":"3.1.3","matchCriteriaId":"5D108CA7-83E6-4F7D-948D-D0E798BCFDBE"},{"vulnerable":true,"criteria":"cpe:2.3:a:semver-regex_project:semver-regex:4.0.0:*:*:*:*:*:*:*","matchCriteriaId":"DDB55FE1-B64B-4E67-A89E-0D4FBF9ADE91"}]}]}],"references":[{"url":"https://github.com/sindresorhus/semver-regex/commit/11c66245f4e1976dccc52977ed183696a21a3fd7","source":"security@huntr.dev","tags":["Patch","Third Party Advisory"]},{"url":"https://huntr.dev/bounties/006624e3-35ac-448f-aab9-7b5183f30e28","source":"security@huntr.dev","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://github.com/sindresorhus/semver-regex/commit/11c66245f4e1976dccc52977ed183696a21a3fd7","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"]},{"url":"https://huntr.dev/bounties/006624e3-35ac-448f-aab9-7b5183f30e28","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch","Third Party Advisory"]}]}