CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in npmjs semver. EPSS 2.8% estimated probability of exploitation activity in the next 30 days. Fixed in semver 5.7.2, 6.3.1, 7.5.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hsemver (npm): fixed in 7.5.2, 6.3.1, 5.7.2Explain CVE-2022-25883 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-25883?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-25883?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-25883 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| npmjs:semver | before 5.7.2 |
| npmjs:semver | from 6.0.0 before 6.3.1 |
| npmjs:semver | from 7.0.0 before 7.5.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-c2qf-rxjj-qqgw | npm | semver | >=7.0.0 <7.5.2 | 7.5.2 |
| GHSA-c2qf-rxjj-qqgw | npm | semver | >=6.0.0 <6.3.1 | 6.3.1 |
| GHSA-c2qf-rxjj-qqgw | npm | semver | >=2.0.0-alpha <5.7.2 | 5.7.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | node-semver | no fix listed | DEBIAN-CVE-2022-25883 |
| Debian | 13, 14 | node-semver | 7.5.4+~7.5.0-1 | DEBIAN-CVE-2022-25883 |
| Ubuntu | 18.04:LTS, 20.04:LTS, 22.04:LTS and 6 more | node-semver | no fix listed | UBUNTU-CVE-2022-25883 |
| Red Hat | enterprise_linux:8::appstream | nodejs, nodejs-docs, nodejs-devel and 3 more | 1:16.20.2-2.module+el8.8.0+19898+ab99ba34 | RHSA-2023:5360 |
| Red Hat | enterprise_linux:8::appstream | nodejs, nodejs-docs, nodejs-devel and 3 more | 1:18.17.1-1.module+el8.8.0+19757+8ca87034 | RHSA-2023:5362 |
| Red Hat | enterprise_linux:8::appstream | nodejs-nodemon | 0:3.0.1-1.module+el8.8.0+19757+8ca87034 | RHSA-2023:5362 |
| Red Hat | enterprise_linux:8::appstream | nodejs-nodemon | 0:3.0.1-1.module+el8.8.0+19764+7eed1ca3 | RHSA-2023:5360 |
| Red Hat | enterprise_linux:8::appstream | nodejs-packaging | 0:26-1.module+el8.8.0+19857+6d2a104d | RHSA-2023:5360 |
| Red Hat | enterprise_linux:8::appstream | nodejs-packaging, nodejs-packaging-bundler | 0:2021.06-4.module+el8.7.0+15582+19c314fa | RHSA-2023:5362 |
| Red Hat | enterprise_linux:8::appstream | npm | 1:8.19.4-1.16.20.2.2.module+el8.8.0+19898+ab99ba34 | RHSA-2023:5360 |
| Red Hat | enterprise_linux:8::appstream | npm | 1:9.6.7-1.18.17.1.1.module+el8.8.0+19757+8ca87034 | RHSA-2023:5362 |
| Red Hat | enterprise_linux:9::appstream | nodejs, nodejs-docs, nodejs-devel and 3 more | 1:18.17.1-1.module+el9.2.0.z+19753+58118bc0 | RHSA-2023:5363 |
| Red Hat | enterprise_linux:9::appstream | nodejs-nodemon | 0:3.0.1-1.module+el9.2.0.z+19753+58118bc0 | RHSA-2023:5363 |
| Red Hat | enterprise_linux:9::appstream | nodejs-packaging, nodejs-packaging-bundler | 0:2021.06-4.module+el9.1.0+15718+e52ec601 | RHSA-2023:5363 |
| Red Hat | enterprise_linux:9::appstream | npm | 1:9.6.7-1.18.17.1.1.module+el9.2.0.z+19753+58118bc0 | RHSA-2023:5363 |
| 49 more for Red Hat in the JSON and on Red Hat's page. | ||||
| openSUSE | Tumbleweed | velociraptor | 0.7.0.4.git74.3426c0a-9.1 | openSUSE-SU-2024:14012-1 |
| AlmaLinux | 8 | nodejs, nodejs-docs, nodejs-devel and 1 more | 1:16.20.2-2.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| AlmaLinux | 8 | nodejs, nodejs-docs, nodejs-devel and 1 more | 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5362 |
| AlmaLinux | 8 | nodejs-nodemon | 3.0.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5362 |
| AlmaLinux | 8 | nodejs-nodemon | 3.0.1-1.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| AlmaLinux | 8 | nodejs-packaging | 26-1.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| AlmaLinux | 8 | nodejs-packaging, nodejs-packaging-bundler | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:5362 |
| AlmaLinux | 8 | npm | 1:8.19.4-1.16.20.2.2.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| AlmaLinux | 8 | npm | 1:9.6.7-1.18.17.1.1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5362 |
| AlmaLinux | 9 | nodejs, nodejs-docs, nodejs-devel and 1 more | 1:18.17.1-1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| AlmaLinux | 9 | nodejs-nodemon | 3.0.1-1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| AlmaLinux | 9 | nodejs-packaging, nodejs-packaging-bundler | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:5363 |
| AlmaLinux | 9 | npm | 1:9.6.7-1.18.17.1.1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1666+930e28e8 | RLSA-2023:5360 RLSA-2023:5362 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1667+4a788d89 | RLSA-2023:5360 RLSA-2023:5362 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1823+b5789597 | RLSA-2023:5360 RLSA-2023:5362 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1824+532140ee | RLSA-2023:5360 RLSA-2023:5362 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1924+614dc87f | RLSA-2023:5360 RLSA-2023:5362 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1935+d3cbe60f | RLSA-2023:5360 RLSA-2023:5362 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1988+437f3d23 | RLSA-2023:5360 RLSA-2023:5362 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.10.0+1989+e60144d9 | RLSA-2023:5360 RLSA-2023:5362 |
| Rocky Linux | 8 | nodejs-nodemon | 0:3.0.1-1.module+el8.9.0+1760+903d54b9 | RLSA-2023:5360 RLSA-2023:5362 |
| Rocky Linux | 8 | nodejs-packaging | 0:2021.06-4.module+el8.10.0+1667+4a788d89 | RLSA-2023:5362 |
| Rocky Linux | 8 | nodejs-packaging | 0:2021.06-4.module+el8.10.0+1823+b5789597 | RLSA-2023:5362 |
| Rocky Linux | 8 | nodejs-packaging | 0:2021.06-4.module+el8.10.0+1824+532140ee | RLSA-2023:5362 |
| 18 more for Rocky Linux in the JSON. | ||||
| Azure Linux | 2 | js-jquery | no fix listed | AZL-43717 |
| Azure Linux | 2 | nodejs | 16.20.1-2 | AZL-27207 |
| Azure Linux | 2 | nodejs-nodemon | no fix listed | AZL-43534 |
| Azure Linux | 2 | nodejs18 | 18.16.0-3 | AZL-27208 |
| Azure Linux | 3 | js-jquery | no fix listed | AZL-44694 |
| Azure Linux | 3 | nodejs-nodemon | no fix listed | AZL-45168 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.
Red Hat rates this Moderate.
This vulnerability is rated Moderate for Red Hat Products versus NVD's High due to deployment context. The flaw in node-semver's new Range() function causes catastrophic regex backtracking on crafted input, leading to CPU exhaustion. However, exploitation requires untrusted input passed directly to the parser. So node-semver is a build-time dev dependency, not present in runtime environment in RHACM, and the functionality is additionally protected behind OAuth authentication, further limiting attack surface.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Migration Toolkit for Runtimes 1 on RHEL 8 | mtr/mtr-web-container-rhel8:1.2-10 | Fixed 2024-02-07 | RHSA-2024:0719 |
| Migration Toolkit for Runtimes 1 on RHEL 8 | mtr/mtr-web-executor-container-rhel8:1.2-8 | Fixed 2024-02-07 | RHSA-2024:0719 |
| multicluster engine for Kubernetes 2.6 for RHEL 8 | multicluster-engine/assisted-image-service-rhel8:v2.6.2-5 | Fixed 2024-08-28 | RHSA-2024:5955 |
| multicluster engine for Kubernetes 2.6 for RHEL 8 | multicluster-engine/assisted-installer-agent-rhel8:v2.6.2-6 | Fixed 2024-08-28 | RHSA-2024:5955 |
| multicluster engine for Kubernetes 2.6 for RHEL 8 | multicluster-engine/assisted-installer-controller-rhel8:v2.6.2-5 | Fixed 2024-08-28 | RHSA-2024:5955 |
| multicluster engine for Kubernetes 2.6 for RHEL 8 | multicluster-engine/assisted-installer-rhel8:v2.6.2-5 | Fixed 2024-08-28 | RHSA-2024:5955 |
| multicluster engine for Kubernetes 2.6 for RHEL 8 | multicluster-engine/assisted-service-8-rhel8:v2.6.2-6 | Fixed 2024-08-28 | RHSA-2024:5955 |
| multicluster engine for Kubernetes 2.6 for RHEL 9 | multicluster-engine/addon-manager-rhel9:v2.6.2-6 | Fixed 2024-08-28 | RHSA-2024:5955 |
| multicluster engine for Kubernetes 2.6 for RHEL 9 | multicluster-engine/assisted-service-9-rhel9:v2.6.2-7 | Fixed 2024-08-28 | RHSA-2024:5955 |
| multicluster engine for Kubernetes 2.6 for RHEL 9 | multicluster-engine/backplane-rhel9-operator:v2.6.2-7 | Fixed 2024-08-28 | RHSA-2024:5955 |
| Cryostat 2 | nodejs-semver | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/kibana6-rhel8 | Not affected | |
| Migration Toolkit for Applications 6 | mta/mta-ui-rhel9 | Will not fix | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-ui-rhel8 | Will not fix | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel8 | Affected | |
| OpenShift Serverless | nodejs-semver | Affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/kiali-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | acm-cluster-templates-console-plugin-container | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/search-api-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Security 3 | advanced-cluster-security/rhacs-main-rhel8 | Will not fix | |
| 198 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-25883.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.