GHSA-mgfg-7533-7jf6 ezsystems/ezplatform-http-cache affected by Breach with Varnish VCL

Not scored Published

Attackers can extract secrets from HTTP responses via BREACH attack due to enabled compression in Varnish VCL templates.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-mgfg-7533-7jf6?

GHSA-mgfg-7533-7jf6 is a vulnerability in ezsystems/ezplatform-http-cache, published on 2 Dec 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Impact

This is not a vulnerability in the code per se, but included Varnish VCL templates enable compression of API and JSON messages. This is a potential case of the BREACH vulnerability, which affects HTTP compression, where secrets can be extracted through carefully crafted requests. The fix disables compression in these templates. Please make sure to make the same change in your configuration files, see the release notes for specific instructions. Please check your web server configuration as well.

Patches

Workarounds

Make sure HTTP compression is disabled for REST API requests and other communication that might contain secrets.

References

Which versions are affected by GHSA-mgfg-7533-7jf6?

2 open source packages ship an affected version, including ezsystems/ezplatform-http-cache.

PackageAffectedFixed in
ezsystems/ezplatform-http-cache PackagistAll versions2.3.16
ezsystems/ezplatform-http-cache PackagistAll versions2.3.16

How do I fix GHSA-mgfg-7533-7jf6?

Upgrade ezsystems/ezplatform-http-cache to 2.3.16 or later.

Is GHSA-mgfg-7533-7jf6 being exploited?

There is no known exploitation of GHSA-mgfg-7533-7jf6 in the wild and no public exploit code.

Sources

Is GHSA-mgfg-7533-7jf6 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free