Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1yYzQ3LTY2NjctMmo1as4AAxS-

http-cache-semantics vulnerable to Regular Expression Denial of Service

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.

Permalink: https://github.com/advisories/GHSA-rc47-6667-2j5j
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1yYzQ3LTY2NjctMmo1as4AAxS-
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 1 year ago
Updated: 10 months ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Identifiers: GHSA-rc47-6667-2j5j, CVE-2022-25881
References: Repository: https://github.com/kornelski/http-cache-semantics
Blast Radius: 46.9

Affected Packages

maven:org.webjars.npm:http-cache-semantics
Dependent packages: 2
Dependent repositories: 0
Downloads:
Affected Version Ranges: < 4.1.1
Fixed in: 4.1.1
All affected versions: 3.8.1, 4.0.4, 4.1.0
All unaffected versions: 4.1.1
npm:http-cache-semantics
Dependent packages: 625
Dependent repositories: 1,320,325
Downloads: 85,896,106 last month
Affected Version Ranges: < 4.1.1
Fixed in: 4.1.1
All affected versions: 1.0.0, 2.0.0, 3.0.0, 3.1.0, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.4.0, 3.5.0, 3.5.1, 3.6.0, 3.6.1, 3.7.0, 3.7.1, 3.7.3, 3.8.0, 3.8.1, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.1.0
All unaffected versions: 4.1.1