Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/caddyserver/caddy
  4. ›
  5. CVE-2018-19148

CVE-2018-19148: Information Exposure

November 10, 2018 (updated January 30, 2019)

Caddy sends incorrect certificates for certain invalid requests, making it easier for attackers to enumerate hostnames. Specifically, when unable to match a Host header with a vhost in its configuration, it serves the X.509 certificate for a randomly selected vhost in its configuration. Repeated requests (with a nonexistent hostname in the Host header) permit full enumeration of all certificates on the server. This generally permits an attacker to easily and accurately discover the existence of and relationships among hostnames that weren’t meant to be public, though this information could likely have been discovered via other methods with additional effort.

References

  • github.com/mholt/caddy/issues/1303
  • github.com/mholt/caddy/issues/2334
  • github.com/mholt/caddy/pull/2015
  • nvd.nist.gov/vuln/detail/CVE-2018-19148

Code Behaviors & Features

Detect and mitigate CVE-2018-19148 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.11.0

Fixed versions

  • v0.11.1

Solution

Upgrade to version 0.11.1 or above.

Impact 3.7 LOW

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

go/github.com/caddyserver/caddy/CVE-2018-19148.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.