7.5
CWE
1333
Advisory Published
CVE Published
Updated

CVE-2022-25881

First published: Tue Jan 31 2023(Updated: )

A flaw was found in http-cache-semantics. When the server reads the cache policy from the request using this library, a Regular Expression Denial of Service occurs, caused by malicious request header values sent to the server.

Credit: report@snyk.io

Affected SoftwareAffected VersionHow to fix
redhat/nodejs<18-9020020230327152102.rhel9
18-9020020230327152102.rhel9
redhat/nodejs<1:16.19.1-1.el9_2
1:16.19.1-1.el9_2
redhat/nodejs<1:16.20.2-1.el9_0
1:16.20.2-1.el9_0
redhat/rh-nodejs14<0:3.6-2.el7
0:3.6-2.el7
redhat/rh-nodejs14-nodejs<0:14.21.3-2.el7
0:14.21.3-2.el7
redhat/http-cache-semantics<4.1.1
4.1.1
Http-cache-semantics<4.1.1
IBM Data Virtualization on Cloud Pak for Data<=3.0
IBM Watson Query with Cloud Pak for Data as a Service<=2.2
IBM Watson Query with Cloud Pak for Data as a Service<=2.1
IBM Watson Query with Cloud Pak for Data as a Service<=2.0
IBM Data Virtualization on Cloud Pak for Data<=1.8
IBM Data Virtualization on Cloud Pak for Data<=1.7

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2022-25881?

    CVE-2022-25881 is a vulnerability in the http-cache-semantics module of Node.js, which can be exploited by a remote attacker to cause a denial of service.

  • How does CVE-2022-25881 affect the affected software?

    CVE-2022-25881 affects the http-cache-semantics module version 4.1.1 and certain versions of Node.js, potentially leading to a denial of service condition.

  • What is the severity of CVE-2022-25881?

    The severity of CVE-2022-25881 is high, with a CVSS score of 7.5.

  • How can CVE-2022-25881 be fixed?

    To fix CVE-2022-25881, update the http-cache-semantics module to version 4.1.1 or apply the recommended patches for the affected versions of Node.js.

  • Where can I find more information about CVE-2022-25881?

    You can find more information about CVE-2022-25881 at the following references: [Reference 1](https://security.snyk.io/vuln/SNYK-JS-HTTPCACHESEMANTICS-3248783), [Reference 2](https://github.com/kornelski/http-cache-semantics/blob/master/index.js%23L83), and [Reference 3](https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253332).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203