Skip to content

CVE-2022-25881 http-cache-semantics vulnerable to Regular Expression Denial of Service

HighCVSS 7.5 EPSS 1.7%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

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.

Upgrade path

4 packages: 4 fixed.

PackageAffectedFixed inStatus
http-cache-semantics project http-cache-semantics < 4.1.1 4.1.1 Fixed
npm http-cache-semantics(npm) < 4.1.1 4.1.1 Fixed
org.webjars.npm/http-cache-semantics(Maven) < 4.1.1; = 3.8.1; = 4.0.4; = 4.1.0 4.1.1 Fixed
wordpress simple-local-avatars(WordPress) < 2.7.4 2.7.4 Fixed

Affected products

ProductAffected versionsFixed in
npm http-cache-semantics(npm) < 4.1.1 4.1.1
org.webjars.npm/http-cache-semantics(Maven) < 4.1.1 4.1.1
org.webjars.npm/http-cache-semantics(Maven) = 3.8.1 No fix listed
org.webjars.npm/http-cache-semantics(Maven) = 4.0.4 No fix listed
org.webjars.npm/http-cache-semantics(Maven) = 4.1.0 No fix listed
http-cache-semantics project http-cache-semantics < 4.1.1 4.1.1
wordpress simple-local-avatars(WordPress) < 2.7.4 2.7.4

References