NodeJS/semver/1.1.2
The semantic version parser used by npm.
https://www.npmjs.com/package/semver
MIT
2 Security Vulnerabilities
Regular Expression Denial of Service in semver
- https://nvd.nist.gov/vuln/detail/CVE-2015-8855
- https://github.com/advisories/GHSA-x6fg-f45m-jf5q
- https://www.npmjs.com/advisories/31
- https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS
- https://nodesecurity.io/advisories/31
- http://www.openwall.com/lists/oss-security/2016/04/20/11
- http://www.securityfocus.com/bid/86957
- https://github.com/github/advisory-database/pull/7102
- https://github.com/npm/node-semver/commit/5c4c9f6e26c7052a42b5ced2a7481c5c9b4363a0
- https://github.com/npm/node-semver/commit/c80180d8341a8ada0236815c29a2be59864afd70
Versions 4.3.1 and earlier of semver are affected by a regular expression denial of service vulnerability when extremely long version strings are parsed.
Recommendation
Update to version 4.3.2 or later
Regular Expression Denial of Service
semver is vulnerable to regular expression denial of service (ReDoS) when extremely long version strings are parsed.
The Regular expression Denial of Service (ReDoS) is a Denial of Service attack, that exploits the fact that most Regular Expression implementations may reach extreme situations that cause them to work very slowly (exponentially related to input size). An attacker can then cause a program using a Regular Expression to enter these extreme situations and then hang for a very long time.
[1]
113 Other Versions
| Version | License | Security | Released | |
|---|---|---|---|---|
| 7.7.4 | ISC | 2026-02-05 - 17:23 | about 2 months | |
| 7.7.3 | ISC | 2025-10-07 - 18:00 | 6 months | |
| 7.7.2 | ISC | 2025-05-12 - 17:02 | 11 months | |
| 7.7.1 | ISC | 2025-02-03 - 21:46 | about 1 year | |
| 7.7.0 | ISC | 2025-01-29 - 17:14 | about 1 year | |
| 7.6.3 | ISC | 2024-07-16 - 22:27 | over 1 year | |
| 7.6.2 | ISC | 2024-05-09 - 16:02 | almost 2 years | |
| 7.6.1 | ISC | 2024-05-07 - 16:02 | almost 2 years | |
| 7.6.0 | ISC | 2024-02-05 - 17:06 | about 2 years | |
| 7.5.4 | ISC | 2023-07-07 - 21:10 | over 2 years | |
| 7.5.3 | ISC | 2023-06-22 - 21:53 | almost 3 years | |
| 7.5.2 | ISC | 2023-06-15 - 20:26 | almost 3 years | |
| 7.5.1 | ISC | 1 | 2023-05-12 - 16:39 | almost 3 years |
| 7.5.0 | ISC | 1 | 2023-04-17 - 17:22 | almost 3 years |
| 7.4.0 | ISC | 1 | 2023-04-10 - 21:57 | almost 3 years |
| 7.3.8 | ISC | 1 | 2022-10-04 - 19:40 | over 3 years |
| 7.3.7 | ISC | 1 | 2022-04-12 - 17:26 | almost 4 years |
| 7.3.6 | ISC | 1 | 2022-04-06 - 16:35 | almost 4 years |
| 7.3.5 | ISC | 1 | 2021-03-23 - 01:37 | about 5 years |
| 7.3.4 | ISC | 1 | 2020-12-01 - 20:15 | over 5 years |
| 7.3.3 | ISC | 1 | 2020-12-01 - 19:30 | over 5 years |
| 7.3.2 | ISC | 1 | 2020-04-14 - 17:43 | almost 6 years |
| 7.3.1 | ISC | 1 | 2020-04-14 - 16:56 | almost 6 years |
| 7.3.0 | ISC | 1 | 2020-04-14 - 01:08 | almost 6 years |
| 7.2.3 | ISC | 1 | 2020-04-13 - 18:31 | almost 6 years |
| 7.2.2 | ISC | 1 | 2020-04-10 - 16:01 | almost 6 years |
| 7.2.1 | ISC | 1 | 2020-04-06 - 23:37 | almost 6 years |
| 7.2.0 | ISC | 1 | 2020-04-06 - 23:36 | almost 6 years |
| 7.1.3 | ISC | 1 | 2020-02-11 - 21:54 | about 6 years |
| 7.1.2 | ISC | 1 | 2020-01-31 - 01:29 | about 6 years |
| 7.1.1 | ISC | 1 | 2019-12-17 - 16:56 | over 6 years |
| 7.1.0 | ISC | 1 | 2019-12-17 - 01:28 | over 6 years |
| 7.0.0 | ISC | 1 | 2019-12-14 - 19:36 | over 6 years |
| 6.3.1 | ISC | 2023-07-10 - 22:38 | over 2 years | |
| 6.3.0 | ISC | 1 | 2019-07-23 - 19:25 | over 6 years |
| 6.2.0 | ISC | 1 | 2019-07-01 - 23:03 | over 6 years |
| 6.1.3 | ISC | 1 | 2019-07-01 - 05:51 | over 6 years |
| 6.1.2 | ISC | 1 | 2019-06-24 - 01:48 | almost 7 years |
| 6.1.1 | ISC | 1 | 2019-05-28 - 17:15 | almost 7 years |
| 6.1.0 | ISC | 1 | 2019-05-22 - 21:12 | almost 7 years |
| 6.0.0 | ISC | 1 | 2019-03-26 - 23:30 | almost 7 years |
| 5.7.2 | ISC | 2023-07-10 - 19:57 | over 2 years | |
| 5.7.1 | ISC | 1 | 2019-08-12 - 16:28 | over 6 years |
| 5.7.0 | ISC | 1 | 2019-03-26 - 23:25 | almost 7 years |
| 5.6.0 | ISC | 1 | 2018-10-10 - 23:52 | over 7 years |
| 5.5.1 | ISC | 1 | 2018-08-17 - 20:35 | over 7 years |
| 5.5.0 | ISC | 1 | 2018-01-16 - 19:27 | about 8 years |
| 5.4.1 | ISC | 1 | 2017-07-24 - 18:48 | over 8 years |
| 5.4.0 | ISC | 1 | 2017-07-24 - 16:39 | over 8 years |
| 5.3.0 | ISC | 1 | 2016-07-14 - 16:52 | over 9 years |
