{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-21246","id":"CVE-2018-21246","title":"Caddy vulnerable to Authentication Bypass due to mishandling of TLS client authentication","description":"Caddy before 0.10.13 mishandles TLS client authentication, as demonstrated by an authentication bypass caused by the lack of the StrictHostMatching mode.","descriptionLong":"Caddy before 0.10.13 mishandles TLS client authentication, as demonstrated by an authentication bypass caused by the lack of the StrictHostMatching mode.","published":"2020-06-15T16:50:25.000Z","updated":"2026-10-20T10:48:03.754559131Z","reserved":"2020-06-15T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/caddyserver/caddy","purl":"pkg:golang/github.com/caddyserver/caddy","ranges":["<0.10.13"],"fixed":["0.10.13"],"advisory":"GHSA-gr7w-x2jp-3xgw"},{"ecosystem":"Go","name":"github.com/mholt/caddy","purl":"pkg:golang/github.com/mholt/caddy","ranges":["<0.10.13"],"fixed":["0.10.13"],"advisory":"GO-2020-0043"}],"cwes":["CWE-287"],"aliases":["GHSA-gr7w-x2jp-3xgw","GO-2020-0043"],"references":[{"url":"https://github.com/caddyserver/caddy/releases/tag/v0.10.13","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://bugs.gentoo.org/715214","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-21246","tags":["advisory"]},{"url":"https://github.com/caddyserver/caddy/pull/2099","tags":["web","fix"]},{"url":"https://github.com/caddyserver/caddy/commit/4d9ee000c8d2cbcdd8284007c1e0f2da7bc3c7c3","tags":["web","fix"]},{"url":"https://github.com/caddyserver/caddy","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0043","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02723,"epssPercentile":0.86338,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-21246","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-21246","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-21246","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-gr7w-x2jp-3xgw","ok":true,"note":"GHSA-gr7w-x2jp-3xgw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-21246","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}