CVEfocus › CVE database › CVE-2022-25883

CVE-2022-25883

CVSS 5.3 MediumEPSS 2.4% (higher than 84% of CVEs)Published 2023-06-21Updated 2024-12-06Assigner: snyk

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.

CWE-1333

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

39Fixed
3Fix pending
3Under investigation
7Will not fix
87Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-semverFix pendingUBUNTU-CVE-2022-25883
Ubuntu 26.04node-semverUnder investigationUBUNTU-CVE-2022-25883
Ubuntu 25.10node-semverWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-25883
Ubuntu 24.04node-semverUnder investigationUBUNTU-CVE-2022-25883
Ubuntu 22.04node-semverUnder investigationUBUNTU-CVE-2022-25883
Ubuntu 20.04node-semverWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-25883
Ubuntu 18.04node-semverWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-25883
Ubuntu 16.04node-semverWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-25883
Ubuntu 14.04node-semverFix pendingUBUNTU-CVE-2022-25883
Debian 14node-semverFixed7.5.4+~7.5.0-1DEBIAN-CVE-2022-25883
Debian 13node-semverFixed7.5.4+~7.5.0-1DEBIAN-CVE-2022-25883
Debian 12node-semverFix pendingDEBIAN-CVE-2022-25883
Red Hat Enterprise Linux 9gjsNot affected
Red Hat Enterprise Linux 9gjs-develNot affected
Red Hat Enterprise Linux 9grafanaNot affected
Red Hat Enterprise Linux 9grafana-selinuxNot affected
Red Hat Enterprise Linux 9nodejsFixed
Will not fix
1:18.17.1-1.module+el9.2.0.z+19753+58118bc0RHSA-2023:5363
Red Hat Enterprise Linux 9nodejs-develFixed1:18.17.1-1.module+el9.2.0.z+19753+58118bc0RHSA-2023:5363
Red Hat Enterprise Linux 9nodejs-docsFixed
Will not fix
1:18.17.1-1.module+el9.2.0.z+19753+58118bc0RHSA-2023:5363
Red Hat Enterprise Linux 9nodejs-full-i18nFixed
Will not fix
1:18.17.1-1.module+el9.2.0.z+19753+58118bc0RHSA-2023:5363
Red Hat Enterprise Linux 9nodejs-libsWill not fix
Will not fix
Red Hat Enterprise Linux 9nodejs-nodemonFixed
Will not fix
0:3.0.1-1.module+el9.2.0.z+19753+58118bc0RHSA-2023:5363
Red Hat Enterprise Linux 9nodejs-packagingFixed0:2021.06-4.module+el9.1.0+15718+e52ec601RHSA-2023:5363
Red Hat Enterprise Linux 9nodejs-packaging-bundlerFixed0:2021.06-4.module+el9.1.0+15718+e52ec601RHSA-2023:5363
Red Hat Enterprise Linux 9npmFixed
Will not fix
1:9.6.7-1.18.17.1.1.module+el9.2.0.z+19753+58118bc0RHSA-2023:5363
Red Hat Enterprise Linux 9pcsNot affected
Red Hat Enterprise Linux 9pcs-snmpNot affected
Red Hat Enterprise Linux 9polkitNot affected
Red Hat Enterprise Linux 9polkit-develNot affected
Red Hat Enterprise Linux 9polkit-docsNot affected
Red Hat Enterprise Linux 9polkit-libsNot affected
Red Hat Enterprise Linux 8389-ds-baseNot affected
Red Hat Enterprise Linux 8389-ds-base-develNot affected
Red Hat Enterprise Linux 8389-ds-base-legacy-toolsNot affected
Red Hat Enterprise Linux 8389-ds-base-libsNot affected
Red Hat Enterprise Linux 8389-ds-base-snmpNot affected
Red Hat Enterprise Linux 8cockpitNot affected
Red Hat Enterprise Linux 8cockpit-389-dsNot affected
Red Hat Enterprise Linux 8cockpit-bridgeNot affected
Red Hat Enterprise Linux 8cockpit-composerNot affected
Red Hat Enterprise Linux 8cockpit-dashboardNot affected
Red Hat Enterprise Linux 8cockpit-docNot affected
Red Hat Enterprise Linux 8cockpit-machinesNot affected
Red Hat Enterprise Linux 8cockpit-packagekitNot affected
Red Hat Enterprise Linux 8cockpit-pcpNot affected
Red Hat Enterprise Linux 8cockpit-podmanNot affected
Red Hat Enterprise Linux 8cockpit-storagedNot affected
Red Hat Enterprise Linux 8cockpit-systemNot affected
Red Hat Enterprise Linux 8cockpit-wsNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-azure-monitorNot affected
Red Hat Enterprise Linux 8grafana-cloudwatchNot affected
Red Hat Enterprise Linux 8grafana-elasticsearchNot affected
Red Hat Enterprise Linux 8grafana-graphiteNot affected
Red Hat Enterprise Linux 8grafana-influxdbNot affected
Red Hat Enterprise Linux 8grafana-lokiNot affected
Red Hat Enterprise Linux 8grafana-mssqlNot affected
Red Hat Enterprise Linux 8grafana-mysqlNot affected
Red Hat Enterprise Linux 8grafana-opentsdbNot affected
Red Hat Enterprise Linux 8grafana-postgresNot affected
Red Hat Enterprise Linux 8grafana-prometheusNot affected
Red Hat Enterprise Linux 8grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafana-stackdriverNot affected
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8mozjs60-develNot affected
Red Hat Enterprise Linux 8nodejsFixed1:18.17.1-1.module+el8.8.0+19757+8ca87034RHSA-2023:5360
Red Hat Enterprise Linux 8nodejs-develFixed1:16.20.2-2.module+el8.8.0+19898+ab99ba34RHSA-2023:5362
Red Hat Enterprise Linux 8nodejs-docsFixed1:18.17.1-1.module+el8.8.0+19757+8ca87034RHSA-2023:5360
Red Hat Enterprise Linux 8nodejs-full-i18nFixed1:18.17.1-1.module+el8.8.0+19757+8ca87034RHSA-2023:5360
Red Hat Enterprise Linux 8nodejs-nodemonFixed0:3.0.1-1.module+el8.8.0+19764+7eed1ca3RHSA-2023:5362
Red Hat Enterprise Linux 8nodejs-packagingFixed0:2021.06-4.module+el8.7.0+15582+19c314faRHSA-2023:5360
Red Hat Enterprise Linux 8nodejs-packaging-bundlerFixed0:2021.06-4.module+el8.7.0+15582+19c314faRHSA-2023:5362
Red Hat Enterprise Linux 8npmFixed1:8.19.4-1.16.20.2.2.module+el8.8.0+19898+ab99ba34RHSA-2023:5362
Red Hat Enterprise Linux 8pcsNot affected
Red Hat Enterprise Linux 8pcs-snmpNot affected
Red Hat Enterprise Linux 8python3-lib389Not affected
Red Hat Enterprise Linux 8rubyNot affected
Red Hat Enterprise Linux 8ruby-bundled-gemsNot affected
Red Hat Enterprise Linux 8ruby-default-gemsNot affected
Red Hat Enterprise Linux 8ruby-develNot affected
Red Hat Enterprise Linux 8ruby-docNot affected
Red Hat Enterprise Linux 8ruby-irbNot affected
Red Hat Enterprise Linux 8ruby-libsNot affected
Red Hat Enterprise Linux 8rubygem-abrtNot affected
Red Hat Enterprise Linux 8rubygem-abrt-docNot affected
Red Hat Enterprise Linux 8rubygem-bigdecimalNot affected
Red Hat Enterprise Linux 8rubygem-bsonNot affected
Red Hat Enterprise Linux 8rubygem-bson-docNot affected
Red Hat Enterprise Linux 8rubygem-bundlerNot affected
Red Hat Enterprise Linux 8rubygem-bundler-docNot affected
Red Hat Enterprise Linux 8rubygem-did_you_meanNot affected
Red Hat Enterprise Linux 8rubygem-io-consoleNot affected
Red Hat Enterprise Linux 8rubygem-irbNot affected
Red Hat Enterprise Linux 8rubygem-jsonNot affected
Red Hat Enterprise Linux 8rubygem-minitestNot affected
Red Hat Enterprise Linux 8rubygem-mongoNot affected
Red Hat Enterprise Linux 8rubygem-mongo-docNot affected
Red Hat Enterprise Linux 8rubygem-mysql2Not affected
Red Hat Enterprise Linux 8rubygem-mysql2-docNot affected
Red Hat Enterprise Linux 8rubygem-net-telnetNot affected
Red Hat Enterprise Linux 8rubygem-opensslNot affected
Red Hat Enterprise Linux 8rubygem-pgNot affected
Red Hat Enterprise Linux 8rubygem-pg-docNot affected
Red Hat Enterprise Linux 8rubygem-power_assertNot affected
Red Hat Enterprise Linux 8rubygem-psychNot affected
Red Hat Enterprise Linux 8rubygem-raccNot affected
Red Hat Enterprise Linux 8rubygem-rakeNot affected
Red Hat Enterprise Linux 8rubygem-rbsNot affected
Red Hat Enterprise Linux 8rubygem-rdocNot affected
Red Hat Enterprise Linux 8rubygem-rexmlNot affected
Red Hat Enterprise Linux 8rubygem-rssNot affected
Red Hat Enterprise Linux 8rubygem-test-unitNot affected
Red Hat Enterprise Linux 8rubygem-typeprofNot affected
Red Hat Enterprise Linux 8rubygem-xmlrpcNot affected
Red Hat Enterprise Linux 8rubygemsNot affected
Red Hat Enterprise Linux 8rubygems-develNot affected
Red Hat Enterprise Linux 7firefoxWill not fix
Out of support scope
Red Hat Enterprise Linux 6firefoxWill not fix
Out of support scope
AlmaLinux 9nodejsFixed1:18.17.1-1.module_el9.2.0+36+853e48f5ALSA-2023:5363
AlmaLinux 9nodejs-develFixed1:18.17.1-1.module_el9.2.0+36+853e48f5ALSA-2023:5363
AlmaLinux 9nodejs-docsFixed1:18.17.1-1.module_el9.2.0+36+853e48f5ALSA-2023:5363
AlmaLinux 9nodejs-full-i18nFixed1:18.17.1-1.module_el9.2.0+36+853e48f5ALSA-2023:5363
AlmaLinux 9nodejs-nodemonFixed3.0.1-1.module_el9.2.0+36+853e48f5ALSA-2023:5363
AlmaLinux 9nodejs-packagingFixed2021.06-4.module_el9.1.0+13+d9a595eaALSA-2023:5363
AlmaLinux 9nodejs-packaging-bundlerFixed2021.06-4.module_el9.1.0+13+d9a595eaALSA-2023:5363
AlmaLinux 9npmFixed1:9.6.7-1.18.17.1.1.module_el9.2.0+36+853e48f5ALSA-2023:5363
AlmaLinux 8nodejsFixed1:18.17.1-1.module_el8.8.0+3613+1ed8c91dALSA-2023:5360
AlmaLinux 8nodejs-develFixed1:16.20.2-2.module_el8.8.0+3614+204d6f43ALSA-2023:5362
AlmaLinux 8nodejs-docsFixed1:18.17.1-1.module_el8.8.0+3613+1ed8c91dALSA-2023:5360
AlmaLinux 8nodejs-full-i18nFixed1:16.20.2-2.module_el8.8.0+3614+204d6f43ALSA-2023:5362
AlmaLinux 8nodejs-nodemonFixed3.0.1-1.module_el8.8.0+3614+204d6f43ALSA-2023:5362
AlmaLinux 8nodejs-packagingFixed2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2023:5360
AlmaLinux 8nodejs-packaging-bundlerFixed2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2023:5362
AlmaLinux 8npmFixed1:9.6.7-1.18.17.1.1.module_el8.8.0+3613+1ed8c91dALSA-2023:5360
Rocky Linux 9nodejs-nodemonFixed0:3.0.1-1.module+el9.6.0+32185+bd121a25RLSA-2023:5363
Rocky Linux 9nodejs-packagingFixed0:2021.06-4.module+el9.6.0+32045+2e5d342dRLSA-2023:5363
Rocky Linux 8nodejs-nodemonFixed0:3.0.1-1.module+el8.10.0+1924+614dc87fRLSA-2023:5360
Rocky Linux 8nodejs-packagingFixed0:2021.06-4.module+el8.10.0+1924+614dc87fRLSA-2023:5360
npm librarysemverFixed7.5.2GHSA-c2qf-rxjj-qqgw

What the vendor says

As published in the CVE record by snyk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.