Inefficient Regular Expression Complexity in sindresorhus/semver-regex
Priority LOW 36CWE-1333Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.
Summary
semver-regex is vulnerable to Inefficient Regular Expression Complexity
Why it matters now
EPSS 0.01517 74th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial sindresorhus/semver-regex (sindresorhus): 4.0.1, 3.1.3semver-regex (npm): 3.1.3, 4.0.1Red Hat: 2 advisoriesRed Hat: 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sindresorhus | sindresorhus/semver-regex | before 4.0.1; before 3.1.3 | 4.0.1, 3.1.3 | Patch available | CNA |
| — | semver-regex (npm) | before 3.1.3 | 3.1.3 | Patch available | GHSA-44c6-4v22-4mhx |
| — | semver-regex (npm) | 4.0.0 to before 4.0.1 | 4.0.1 | Patch available | GHSA-44c6-4v22-4mhx |
- sindresorhus/semver-regex Vendorsindresorhus Affected before 4.0.1; before 3.1.3 Fixed in 4.0.1, 3.1.3 Patch available CNA
- semver-regex (npm) Vendor— Affected before 3.1.3 Fixed in 3.1.3 Patch available GHSA-44c6-4v22-4mhx
- semver-regex (npm) Vendor— Affected 4.0.0 to before 4.0.1 Fixed in 4.0.1 Patch available GHSA-44c6-4v22-4mhx
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:semver-regex_project:semver-regex:*:*:*:*:*:*:*:* | before 3.1.3 | Vulnerable | Semver-regex Project |
| cpe:2.3:a:semver-regex_project:semver-regex:4.0.0:*:*:*:*:*:*:* | 4.0.0 | Vulnerable | Semver-regex Project |
- cpe:2.3:a:semver-regex_project:semver-regex:*:*:*:*:*:*:*:* Versions before 3.1.3 Vulnerable ·Semver-regex Project
- cpe:2.3:a:semver-regex_project:semver-regex:4.0.0:*:*:*:*:*:*:* Versions 4.0.0 Vulnerable ·Semver-regex Project
Remediation
- Fix · CNA sindresorhus/semver-regex (sindresorhus) Fixed in 4.0.1, 3.1.3
- Fix · GHSA-44c6-4v22-4mhx semver-regex (npm) Fixed in 3.1.3 Advisory →
- Fix · GHSA-44c6-4v22-4mhx semver-regex (npm) Fixed in 4.0.1 Advisory →
Red Hat 2 advisories
- RHSA-2021:5038 Released 2021-12-09 · Red Hat rating LowRed Hat Advanced Cluster Management 2.2.10 security updates and bug fixes
- Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 7 rhacm2/management-ingress-rhel7, rhacm2/memcached-exporter-rhel7, rhacm2/search-aggregator-rhel7 +1
- Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 8 rhacm2/acm-must-gather-rhel8, rhacm2/acm-operator-bundle, rhacm2/acmesolver-rhel8 +47
- RHSA-2021:3873 Released 2021-10-14 · Red Hat rating ImportantRed Hat Advanced Cluster Management 2.2.9 security, bug, and container updates
- Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 7 rhacm2/management-ingress-rhel7, rhacm2/memcached-exporter-rhel7, rhacm2/search-aggregator-rhel7 +1
- Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 8 rhacm2/acm-must-gather-rhel8, rhacm2/acm-operator-bundle, rhacm2/acmesolver-rhel8 +47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix yet: Fix deferred |
| Red Hat Virtualization 4 | Affected | No fix planned: Will not fix |
Not affected: 1 product
- Red Hat Directory Server 11
Timeline
- 2026-10-02 Threatist record created from CVE-2021-3795
- 2026-10-03 Alias added: GHSA-44c6-4v22-4mhx
References
More sindresorhus vulnerabilities
- TI-2026-25139 file-type affected by ZIP Decompression Bomb DoS via [Content_Types].xml entry CVSS 3.1MEDIUM 5.3
- TI-2026-82374 OS command injection in open via PowerShell on Windows CVSS 4.0HIGH 7.7
- TI-2026-24363 file-type affected by infinite loop in ASF parser on malformed input with zero-size sub-header CVSS 3.1MEDIUM 5.3
- TI-2022-16660 An issue was discovered in the file-type package before 16.5.4 and 17.x before 17.1.3 for… CVSS 3.1MEDIUM 5.5
Sources
- CVE-2021-3795 · CVE Program
- CVE-2021-3795 · NVD
- FIRST EPSS
- GHSA-44c6-4v22-4mhx · GitHub Advisory Database · CC BY 4.0
- CVE-2021-3795 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences