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 Software | Affected Version | How 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 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
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.
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.
The severity of CVE-2022-25881 is high, with a CVSS score of 7.5.
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.
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).