SecurityContext

CVE-2021-28543: Varnish - Denial of Service

  • Cve: CVE-2021-28543
  • Name: Varnish - Denial of Service
  • Description: 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.
  • Impact: Attackers can cause Varnish daemon restart, leading to service downtime, increased load on backend servers, and degraded performance.
  • Remediation: Update varnish-modules to version 0.17.1 or later.
  • Vulnerability type: null_pointer_dereference
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • 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
  • Epss score: 0.01495
  • Epss percentile: 0.74713
  • Assignee: [email protected]
  • Published at: 2021-03-16T15:15:13Z
  • Age in days: 2079
  • Modified at: 2026-06-17T03:46:30Z
  • Patch available: yes
  • References total: 2
  • Products total: 3
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-28543
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-476NULL Pointer Dereference

References

UrlSourceTags
https://varnish-cache.org/security/VSV00006.htmlnvdVendor Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPFBRQUJNWHCB3GQHSSAPRLQU6Q6PY43/nvd

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
varnish-cache:varnish-modules< 0.17.1/v1/products/varnish-cache/varnish-modules
fedoraproject:fedora= 34/v1/products/fedoraproject/fedora
varnish-cache:varnish-modules_klarlack< 0.17.1/v1/products/varnish-cache/varnish-modules_klarlack

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 49161
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports