synced JUST NOW
01 Record

CVE-2022-25883

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.

MediumPUBLISHEDCNA: snyk
CNA base score5.3 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P

02 Description

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.

03 Exploitation and scoring

Exploitation
Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
SSVC decision
  • ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
  • AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
2.76% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 86.0% of scored records. A rank, not a probability.
NVD base score
7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD analysis status
Analyzed. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2023-06-21 05:00Z3 YR AGO
Last updated
2024-12-06 16:55Z1 YR AGO
Reserved
2022-02-24
Assigning CNA
snyk
Record state
PUBLISHED
Severity
Medium (CVSS 5.3)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P
Weaknesses
  • CWE-1333Inefficient Regular Expression ComplexityBase
Data version
5.1
Document digest
bb5b1bc5ff68bd2e5cc54a778df9249c83c3ec9d0973a894107e422757c40b2e

05 Affected products

VendorProductVersionsPlatforms
n/asemver0 to < 7.5.2—

06 References

07 Fixed in

AlmaLinux 8

  • nodejs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:16.20.2-2.module_el8.8.0+3614+204d6f43
    • Affected before 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d
  • nodejs-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:16.20.2-2.module_el8.8.0+3614+204d6f43
    • Affected before 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d
  • nodejs-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:16.20.2-2.module_el8.8.0+3614+204d6f43
    • Affected before 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:16.20.2-2.module_el8.8.0+3614+204d6f43
    • Affected before 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d
  • nodejs-nodemon
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.0.1-1.module_el8.8.0+3613+1ed8c91d
    • Affected before 3.0.1-1.module_el8.8.0+3614+204d6f43
  • nodejs-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el8.7.0+3343+ea2b7901
    • Affected before 26-1.module_el8.8.0+3614+204d6f43
  • nodejs-packaging-bundler
    Fixed in 2021.06-4.module_el8.7.0+3343+ea2b7901
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:8.19.4-1.16.20.2.2.module_el8.8.0+3614+204d6f43
    • Affected before 1:9.6.7-1.18.17.1.1.module_el8.8.0+3613+1ed8c91d

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • nodejs
    Fixed in 1:18.17.1-1.module_el9.2.0+36+853e48f5
  • nodejs-devel
    Fixed in 1:18.17.1-1.module_el9.2.0+36+853e48f5
  • nodejs-docs
    Fixed in 1:18.17.1-1.module_el9.2.0+36+853e48f5
  • nodejs-full-i18n
    Fixed in 1:18.17.1-1.module_el9.2.0+36+853e48f5
  • nodejs-nodemon
    Fixed in 3.0.1-1.module_el9.2.0+36+853e48f5
  • nodejs-packaging
    Fixed in 2021.06-4.module_el9.1.0+13+d9a595ea
  • nodejs-packaging-bundler
    Fixed in 2021.06-4.module_el9.1.0+13+d9a595ea
  • npm
    Fixed in 1:9.6.7-1.18.17.1.1.module_el9.2.0+36+853e48f5

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • nodejs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:16.20.2-2.module_el8.8.0+3614+204d6f43
    • Affected before 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d
  • nodejs-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:16.20.2-2.module_el8.8.0+3614+204d6f43
    • Affected before 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d
  • nodejs-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:16.20.2-2.module_el8.8.0+3614+204d6f43
    • Affected before 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:16.20.2-2.module_el8.8.0+3614+204d6f43
    • Affected before 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d
  • nodejs-nodemon
    Fixed

    A version is affected if any line below covers it.

    • Affected before 3.0.1-1.module_el8.8.0+3613+1ed8c91d
    • Affected before 3.0.1-1.module_el8.8.0+3614+204d6f43
  • nodejs-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el8.7.0+3343+ea2b7901
    • Affected before 26-1.module_el8.8.0+3614+204d6f43
  • nodejs-packaging-bundler
    Fixed in 2021.06-4.module_el8.7.0+3343+ea2b7901
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:8.19.4-1.16.20.2.2.module_el8.8.0+3614+204d6f43
    • Affected before 1:9.6.7-1.18.17.1.1.module_el8.8.0+3613+1ed8c91d

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • nodejs
    Fixed in 1:18.17.1-1.module_el9.2.0+36+853e48f5
  • nodejs-devel
    Fixed in 1:18.17.1-1.module_el9.2.0+36+853e48f5
  • nodejs-docs
    Fixed in 1:18.17.1-1.module_el9.2.0+36+853e48f5
  • nodejs-full-i18n
    Fixed in 1:18.17.1-1.module_el9.2.0+36+853e48f5
  • nodejs-nodemon
    Fixed in 3.0.1-1.module_el9.2.0+36+853e48f5
  • nodejs-packaging
    Fixed in 2021.06-4.module_el9.1.0+13+d9a595ea
  • nodejs-packaging-bundler
    Fixed in 2021.06-4.module_el9.1.0+13+d9a595ea
  • npm
    Fixed in 1:9.6.7-1.18.17.1.1.module_el9.2.0+36+853e48f5

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • node-semver
    No fix yet

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • node-semver
    Fixed in 7.5.4+~7.5.0-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • node-semver
    Fixed in 7.5.4+~7.5.0-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • node-semver
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • node-semver
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • node-semver
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • node-semver
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 25.10

  • node-semver
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.04 LTS

  • node-semver
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.10

  • node-semver
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • node-semver
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • node-semver
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.