CyberSecBulletin
CVE-2022-23959NVD status: Modified

Varnich Cache: Inconsistent Interpretation of HTTP Requests

CVE-2022-23959 is a critical-severity inconsistent interpretation of HTTP requests vulnerability in Varnich Cache from Varnish-software, with a CVSS 3.1 base score of 9.1 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 6.6.2, 4.1.11r6 as the first without the flaw, so updating Varnich Cache to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 2.01% chance of exploitation within 30 days, higher than 81% of scored CVEs.

Patch this week

Critical severity: a successful attack would have severe impact.

What to do

  1. Update Varnich Cache to 6.6.2 or 4.1.11r6, whichever matches your release line, or a later version.
  2. Update Varnish Cache to 6.0.10 or a later version.
  3. Update Varnish Cache Plus to 6.0.9r4 or a later version.
  4. Read the advisory on docs.varnish-software.com for workarounds and exact fixed builds.
  5. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
Varnish-softwareVarnich Cache1.0.0 up to, but not including, 6.6.2; 4.1.1 up to, but not including, 4.1.11r6; 4.16.6.2, 4.1.11r6
Varnish-softwareVarnish Cache6.0.0 up to, but not including, 6.0.106.0.10
Varnish-softwareVarnish Cache Plus6.0.0 up to, but not including, 6.0.9r46.0.9r4
Fedora ProjectFedora35Not stated
DebianDebian Linux9.0; 10.0; 11.0Not stated

Version data comes from NVD's product matching. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
NoneAvailability is not affected.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.19.1CriticalNVD
CVSS 2.06.4MediumNVD

Official description

In Varnish Cache before 6.6.2 and 7.x before 7.0.2, Varnish Cache 6.0 LTS before 6.0.10, and and Varnish Enterprise (Cache Plus) 4.1.x before 4.1.11r6 and 6.0.x before 6.0.9r4, request smuggling can occur for HTTP/1 connections.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Inconsistent Interpretation of HTTP Requests

The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination.

How developers prevent this class of flaw

  • Use a web server that employs a strict HTTP parsing procedure, such as Apache.
  • Terminate the client session after each request.

More Inconsistent Interpretation of HTTP Requests vulnerabilities (CWE-444)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Third-party and government advisories

Recent Inconsistent Interpretation of HTTP Requests vulnerabilities

Spotted an error? Tell us.