NodeJS/semver/4.3.1


The semantic version parser used by npm.

https://www.npmjs.com/package/semver
BSD

3 Security Vulnerabilities

semver vulnerable to Regular Expression Denial of Service

Published date: 2023-06-21T06:30:28Z
CVE: CVE-2022-25883
Links:

Versions of the package semver before 7.5.2 on the 7.x branch, before 6.3.1 on the 6.x branch, and all other versions before 5.7.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.

Affected versions: ["7.0.0", "7.1.0", "7.1.1", "7.1.2", "7.1.3", "7.2.0", "7.2.1", "7.2.2", "7.2.3", "7.3.0", "7.3.1", "7.3.2", "7.3.3", "7.3.4", "7.3.5", "7.3.6", "7.3.7", "7.3.8", "7.4.0", "7.5.0", "7.5.1", "1.0.0", "1.0.1", "1.0.2", "1.0.3", "1.0.4", "1.0.5", "1.0.6", "1.0.7", "1.0.8", "1.0.9", "1.0.10", "1.0.11", "1.0.12", "1.0.13", "1.0.14", "1.1.0", "1.1.1", "1.1.2", "1.1.3", "1.1.4", "2.0.0-alpha", "2.0.0-beta", "2.0.1", "2.0.2", "2.0.3", "2.0.4", "2.0.5", "2.0.6", "2.0.7", "2.0.8", "2.0.9", "2.0.10", "2.0.11", "2.1.0", "2.2.0", "2.2.1", "2.3.0", "2.3.1", "2.3.2", "3.0.0", "3.0.1", "4.0.0", "4.0.2", "4.0.3", "4.1.0", "4.1.1", "4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1", "4.3.2", "4.3.3", "4.3.4", "4.3.5", "4.3.6", "5.0.0", "5.0.1", "5.0.2", "5.0.3", "5.1.0", "5.1.1", "5.2.0", "5.3.0", "5.4.0", "5.4.1", "5.5.0", "5.5.1", "5.6.0", "5.7.0", "5.7.1", "6.0.0", "6.1.0", "6.1.1", "6.1.2", "6.1.3", "6.2.0", "6.3.0"]
Secure versions: [7.5.2, 7.5.3, 7.5.4, 5.7.2, 6.3.1, 7.6.0]
Recommendation: Update to version 7.6.0.

Regular Expression Denial of Service in semver

Published date: 2017-10-24T18:33:36Z
CVE: CVE-2015-8855
Links:

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

Affected versions: ["1.0.0", "1.0.1", "1.0.2", "1.0.3", "1.0.4", "1.0.5", "1.0.6", "1.0.7", "1.0.8", "1.0.9", "1.0.10", "1.0.11", "1.0.12", "1.0.13", "1.0.14", "1.1.0", "1.1.1", "1.1.2", "1.1.3", "1.1.4", "2.0.0-alpha", "2.0.0-beta", "2.0.1", "2.0.2", "2.0.3", "2.0.4", "2.0.5", "2.0.6", "2.0.7", "2.0.8", "2.0.9", "2.0.10", "2.0.11", "2.1.0", "2.2.0", "2.2.1", "2.3.0", "2.3.1", "2.3.2", "3.0.0", "3.0.1", "4.0.0", "4.0.2", "4.0.3", "4.1.0", "4.1.1", "4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1"]
Secure versions: [7.5.2, 7.5.3, 7.5.4, 5.7.2, 6.3.1, 7.6.0]
Recommendation: Update to version 7.6.0.

Regular Expression Denial of Service

Published date: 2015-04-04
CVEs: ["CVE-2015-8855"]
CVSS Score: 5.3
CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Coordinating vendor: ^Lift Security
Links:

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]

Affected versions: ["1.0.0", "1.0.1", "1.0.2", "1.0.3", "1.0.4", "1.0.5", "1.0.6", "1.0.7", "1.0.8", "1.0.9", "1.0.10", "1.0.11", "1.0.12", "1.0.13", "1.0.14", "1.1.0", "1.1.1", "1.1.2", "1.1.3", "1.1.4", "2.0.0-alpha", "2.0.0-beta", "2.0.1", "2.0.2", "2.0.3", "2.0.4", "2.0.5", "2.0.6", "2.0.7", "2.0.8", "2.0.9", "2.0.10", "2.0.11", "2.1.0", "2.2.0", "2.2.1", "2.3.0", "2.3.1", "2.3.2", "3.0.0", "3.0.1", "4.0.0", "4.0.2", "4.0.3", "4.1.0", "4.1.1", "4.2.0", "4.2.1", "4.2.2", "4.3.0", "4.3.1"]
Secure versions: [7.5.2, 7.5.3, 7.5.4, 5.7.2, 6.3.1, 7.6.0]
Recommendation: Update to a version 4.3.2 or greater

105 Other Versions

Version License Security Released
7.6.0 ISC 2024-02-05 - 17:06 3 months
7.5.4 ISC 2023-07-07 - 21:10 10 months
7.5.3 ISC 2023-06-22 - 21:53 10 months
7.5.2 ISC 2023-06-15 - 20:26 11 months
7.5.1 ISC 1 2023-05-12 - 16:39 12 months
7.5.0 ISC 1 2023-04-17 - 17:22 about 1 year
7.4.0 ISC 1 2023-04-10 - 21:57 about 1 year
7.3.8 ISC 1 2022-10-04 - 19:40 over 1 year
7.3.7 ISC 1 2022-04-12 - 17:26 about 2 years
7.3.6 ISC 1 2022-04-06 - 16:35 about 2 years
7.3.5 ISC 1 2021-03-23 - 01:37 about 3 years
7.3.4 ISC 1 2020-12-01 - 20:15 over 3 years
7.3.3 ISC 1 2020-12-01 - 19:30 over 3 years
7.3.2 ISC 1 2020-04-14 - 17:43 about 4 years
7.3.1 ISC 1 2020-04-14 - 16:56 about 4 years
7.3.0 ISC 1 2020-04-14 - 01:08 about 4 years
7.2.3 ISC 1 2020-04-13 - 18:31 about 4 years
7.2.2 ISC 1 2020-04-10 - 16:01 about 4 years
7.2.1 ISC 1 2020-04-06 - 23:37 about 4 years
7.2.0 ISC 1 2020-04-06 - 23:36 about 4 years
7.1.3 ISC 1 2020-02-11 - 21:54 about 4 years
7.1.2 ISC 1 2020-01-31 - 01:29 over 4 years
7.1.1 ISC 1 2019-12-17 - 16:56 over 4 years
7.1.0 ISC 1 2019-12-17 - 01:28 over 4 years
7.0.0 ISC 1 2019-12-14 - 19:36 over 4 years
6.3.1 ISC 2023-07-10 - 22:38 10 months
6.3.0 ISC 1 2019-07-23 - 19:25 almost 5 years
6.2.0 ISC 1 2019-07-01 - 23:03 almost 5 years
6.1.3 ISC 1 2019-07-01 - 05:51 almost 5 years
6.1.2 ISC 1 2019-06-24 - 01:48 almost 5 years
6.1.1 ISC 1 2019-05-28 - 17:15 almost 5 years
6.1.0 ISC 1 2019-05-22 - 21:12 almost 5 years
6.0.0 ISC 1 2019-03-26 - 23:30 about 5 years
5.7.2 ISC 2023-07-10 - 19:57 10 months
5.7.1 ISC 1 2019-08-12 - 16:28 over 4 years
5.7.0 ISC 1 2019-03-26 - 23:25 about 5 years
5.6.0 ISC 1 2018-10-10 - 23:52 over 5 years
5.5.1 ISC 1 2018-08-17 - 20:35 over 5 years
5.5.0 ISC 1 2018-01-16 - 19:27 over 6 years
5.4.1 ISC 1 2017-07-24 - 18:48 almost 7 years
5.4.0 ISC 1 2017-07-24 - 16:39 almost 7 years
5.3.0 ISC 1 2016-07-14 - 16:52 almost 8 years
5.2.0 ISC 1 2016-06-28 - 18:00 almost 8 years
5.1.1 ISC 1 2016-06-23 - 18:00 almost 8 years
5.1.0 ISC 1 2015-11-18 - 23:18 over 8 years
5.0.3 ISC 1 2015-09-11 - 20:27 over 8 years
5.0.2 ISC 1 2015-09-11 - 17:09 over 8 years
5.0.1 ISC 1 2015-07-13 - 20:02 almost 9 years
5.0.0 ISC 1 2015-07-11 - 17:29 almost 9 years
4.3.6 ISC 1 2015-06-01 - 04:16 almost 9 years
4.3.5 ISC 1 2015-05-29 - 22:25 almost 9 years
4.3.4 ISC 1 2015-05-05 - 04:26 almost 9 years
4.3.3 BSD 1 2015-03-27 - 16:56 about 9 years
4.3.2 BSD 1 2015-03-27 - 01:26 about 9 years
4.3.1 BSD 3 2015-02-24 - 19:49 about 9 years
4.3.0 BSD 3 2015-02-12 - 20:08 about 9 years
4.2.2 BSD 3 2015-02-10 - 06:46 about 9 years
4.2.1 BSD 3 2015-02-10 - 06:44 about 9 years
4.2.0 BSD 3 2014-12-23 - 09:42 over 9 years
4.1.1 BSD 3 2014-12-19 - 12:57 over 9 years
4.1.0 BSD 3 2014-10-16 - 00:55 over 9 years
4.0.3 BSD 3 2014-10-01 - 00:18 over 9 years
4.0.2 BSD 3 2014-09-30 - 23:55 over 9 years
4.0.0 BSD 3 2014-09-11 - 22:36 over 9 years
3.0.1 BSD 3 2014-07-24 - 17:24 almost 10 years
3.0.0 BSD 3 2014-07-23 - 21:14 almost 10 years
2.3.2 BSD 3 2014-07-22 - 19:24 almost 10 years
2.3.1 BSD 3 2014-06-18 - 22:48 almost 10 years
2.3.0 BSD 3 2014-05-07 - 01:15 almost 10 years
2.2.1 BSD 3 2013-10-28 - 18:18 over 10 years
2.2.0 BSD 3 2013-10-25 - 20:02 over 10 years
2.1.0 BSD 3 2013-08-01 - 23:52 over 10 years
2.0.11 BSD 3 2013-07-24 - 03:23 almost 11 years
2.0.10 BSD 3 2013-07-09 - 22:39 almost 11 years
2.0.9 BSD 3 2013-07-06 - 03:45 almost 11 years
2.0.8 BSD 3 2013-06-24 - 22:12 almost 11 years
2.0.7 BSD 3 2013-06-20 - 18:57 almost 11 years
2.0.6 BSD 3 2013-06-20 - 18:41 almost 11 years
2.0.5 BSD 3 2013-06-20 - 15:42 almost 11 years
2.0.4 BSD 3 2013-06-20 - 15:33 almost 11 years
2.0.3 BSD 3 2013-06-20 - 15:15 almost 11 years
2.0.2 BSD 3 2013-06-20 - 15:05 almost 11 years
2.0.1 BSD 3 2013-06-20 - 04:42 almost 11 years
2.0.0-beta BSD 3 2013-06-18 - 00:01 almost 11 years
2.0.0-alpha BSD 3 2013-06-15 - 03:29 almost 11 years
1.1.4 MIT 3 2013-03-01 - 18:14 about 11 years
1.1.3 MIT 3 2013-02-06 - 15:42 about 11 years
1.1.2 MIT 3 2013-01-06 - 16:25 over 11 years
1.1.1 MIT 3 2012-11-29 - 00:46 over 11 years
1.1.0 MIT 3 2012-10-02 - 17:02 over 11 years
1.0.14 MIT 3 2012-05-27 - 00:47 almost 12 years
1.0.13 MIT 3 2011-12-21 - 17:07 over 12 years
1.0.12 MIT 3 2011-11-18 - 19:04 over 12 years
1.0.11 MIT 3 2011-11-15 - 16:40 over 12 years
1.0.10 MIT 3 2011-10-04 - 01:51 over 12 years
1.0.9 MIT 3 2011-07-20 - 21:38 almost 13 years
1.0.8 MIT 3 2011-06-27 - 21:58 almost 13 years
1.0.7 MIT 3 2011-06-17 - 16:26 almost 13 years
1.0.6 MIT 3 2011-05-21 - 00:09 almost 13 years
1.0.5 ISC 3 2011-05-03 - 23:11 almost 13 years