GHSA-rc47-6667-2j5j

Suggest an improvement
Source
https://github.com/advisories/GHSA-rc47-6667-2j5j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-rc47-6667-2j5j/GHSA-rc47-6667-2j5j.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rc47-6667-2j5j
Aliases
  • CVE-2022-25881
Related
Published
2023-01-31T06:30:26Z
Modified
2024-02-17T05:35:57.131810Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
http-cache-semantics vulnerable to Regular Expression Denial of Service
Details

http-cache semantics contains an Inefficient Regular Expression Complexity , leading to Denial of Service. This affects versions of the package http-cache-semantics before 4.1.1. The issue can be exploited via malicious request header values sent to a server, when that server reads the cache policy from the request using this library.

References

Affected packages

npm / http-cache-semantics

Package

Name
http-cache-semantics
View open source insights on deps.dev
Purl
pkg:npm/http-cache-semantics

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.1.1

Maven / org.webjars.npm:http-cache-semantics

Package

Name
org.webjars.npm:http-cache-semantics
View open source insights on deps.dev
Purl
pkg:maven/org.webjars.npm/http-cache-semantics

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.1.1

Affected versions

3.*

3.8.1

4.*

4.0.4
4.1.0