CVE-2021-3795
Inefficient Regular Expression Complexity in sindresorhus/semver-regex
semver-regex is vulnerable to Inefficient Regular Expression Complexity
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.5
Inefficient Regular Expression Complexity in sindresorhus/semver-regex
semver-regex is vulnerable to Inefficient Regular Expression Complexity
- Record
CVE-2021-3795- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-1333
- Updated
- 2026-11-02
EUVDEUVD-2021-1966
7.5
semver-regex is vulnerable to Inefficient Regular Expression Complexity
- Record
EUVD-2021-1966- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-44c6-4v22-4mhx
7.5
semver-regex Regular Expression Denial of Service (ReDOS)
npm semver-regex is vulnerable to Inefficient Regular Expression Complexity
- Record
GHSA-44c6-4v22-4mhx- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-400, CWE-1333
- Updated
- 2026-11-02
NVD
7.5
semver-regex is vulnerable to Inefficient Regular Expression Complexity
- Record
CVE-2021-3795- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-1333
- Updated
- 2026-11-02
OSV
7.5
semver-regex is vulnerable to Inefficient Regular Expression Complexity
- Record
CVE-2021-3795- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVGHSA-44c6-4v22-4mhx
7.5
semver-regex Regular Expression Denial of Service (ReDOS)
npm semver-regex is vulnerable to Inefficient Regular Expression Complexity
- Record
GHSA-44c6-4v22-4mhx- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-1333, CWE-400
- Updated
- 2026-11-02
OSVCLSA-2026-1791796134 No score
TuxCare security update for semver-regex (2 CVEs)
TuxCare rebuilt semver-regex to address 2 CVEs. Fixed in 2.0.0-tuxcare.1.
- Record
CLSA-2026-1791796134- Updated
- 2026-11-02
OSVROOT-APP-NPM-CVE-2021-3795 No score
CVE-2021-3795 in semver-regex - Patched by Root
Root has patched CVE-2021-3795 in the semver-regex package for Root:npm. Multiple fixed versions available.
- Record
ROOT-APP-NPM-CVE-2021-3795- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
semver-regexnpm |
before 3.1.3 | 3.1.3 |
semver-regexnpm |
4.0.0 to 4.0.0 | 4.0.1 |
semver-regexTuxCare:npm From an advisory covering 2 CVEs |
2.0.0-tuxcare.0 up to 2.0.0-tuxcare.1, plus listed versions 2.0.0 |
2.0.0-tuxcare.1 |
semver-regexnpm |
4.0.0 up to 4.0.1 | 4.0.1 |
semver-regexRoot:npm |
before 2.0.0-aikido.2 | 2.0.0-aikido.2 |
@rootio/semver-regexRoot:npm |
before 2.0.0-root.io.2 | 2.0.0-root.io.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-3795 is a high vulnerability (CVSS 7.5) in Semver-regex Project Semver-regex, published September 15, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.52%, the 74th percentile. Fixed in semver-regex 3.1.3.