cve.bz

CVE-2021-28543 NULL Pointer Dereference

7.5 highEPSS 1.5%

High (7.5). EPSS 1.5% estimated probability of exploitation activity in the next 30 days.

On this page
Varnish varnish-modules before 0.17.1 allows remote attackers to cause a denial of service (daemon restart) in some configurations. This does not affect organizations that only install the Varnish Cache product; however, it is common to install both Varnish Cache and varnish-modules. Specifically, an assertion failure or NULL pointer dereference can be triggered in Varnish Cache through the varnish-modules header.append() and header.copy() functions. For some Varnish Configuration Language (VCL) files, this gives remote clients an opportunity to cause a Varnish Cache restart. A restart reduces overall availability and performance due to an increased number of cache misses, and may cause higher load on backend servers.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.5% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 75th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-476 NULL Pointer Dereference
CWE-617 Reachable Assertion
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-28543 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-28543?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-28543?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-28543 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
varnish-cache:varnish-modulesbefore 0.17.1
varnish-cache:varnish-modules_klarlackbefore 0.17.1
fedoraproject:fedora34

Red Hat

Red Hat rates this Low.

Red Hat's statement

The following products are not affected by this flaw, as they ship an older version of the `varnish-modules` package which did not include the vulnerable code in the `header` vmod:

* Red Hat Enterprise Linux 8

* Red Hat Software Collections

Red Hat's mitigation

Refer to https://varnish-cache.org/security/VSV00006.html#mitigation.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8varnish:6/varnish-modulesNot affected
Red Hat Enterprise Linux 9varnish-modulesNot affected
Red Hat Software Collectionsrh-varnish6-varnish-modulesNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-28543.

References

Check your stackJSON