VDB

CVE-2022-25883

CVE-2022-25883 PUBLISHED CVSS 5.3 MEDIUM

semver vulnerable to Regular Expression Denial of Service

Reported by snyk · Published June 21, 2023

semver is fixed in 7.5.2, 6.3.1 and 5.7.2 (npm)

Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
semvernpm7.5.2, 6.3.1, 5.7.2
npmAmazon Linux1:8.19.2-1.18.12.1.1.amzn2023.0.9
nodejs-14Chainguard14.21.3-r1
v8-develAmazon Linux2:10.2.154.15-1.18.12.1.1.amzn2023.0.9
arangodb-3.12Chainguard3.12.9.4-r33
nodejs-develAmazon Linux1:18.12.1-1.amzn2023.0.9
nodejsAmazon Linux1:18.12.1-1.amzn2023.0.9
nodejs-libsAmazon Linux1:18.12.1-1.amzn2023.0.9
nodejs-full-i18nAmazon Linux1:18.12.1-1.amzn2023.0.9
nodejs-docsAmazon Linux1:18.12.1-1.amzn2023.0.9
arangodb-3.11Chainguard3.11.14.5-r7
semvernpmjs7.5.3, 6.3.1, 5.7.2

1 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P

Affected products

VendorProductVersions
n/asemver0
amazon:2023npm0
chainguardnodejs-140
amazon:2023v8-devel0
chainguardarangodb-3.120
amazon:2023nodejs-devel0
npmsemver7.0.0, 2.0.0-alpha, 6.0.0
amazon:2023nodejs0
npmsemver
amazon:2023nodejs-libs0
amazon:2023nodejs-full-i18n0
n/asemver0
amazon:2023nodejs-docs0
chainguardarangodb-3.110

Timeline

  • Jun 21, 2023 CVE Published
  • Jun 21, 2023 EPSS Score (30 in total, the first dated here)
  • Mar 9, 2026 Security Advisory (14 in total, the first dated here)
  • Mar 21, 2026 Distribution Patch (11 in total, the first dated here)
  • Jun 30, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-25883
vulnetix vdb fixes CVE-2022-25883

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-25883/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›