CVE-2018-21246: GO-2020-0043 - Authentication bypass in github.com/mholt/caddy

CVE-2018-21246 · Severity: low · CVSS 3.1 · Published 2021-04-14

Authentication bypass in github.com/mholt/caddy

Technologies: github.com/caddyserver/caddy (Go). Vendors: Go.

Quick answers

Is CVE-2018-21246 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2018-21246 being exploited in the wild.
How severe is CVE-2018-21246?
Low severity, with a CVSS score of 3.1, published 14 April 2021.
Which products and versions are affected?
github.com/caddyserver/caddy (Go) SEMVER:introduced=0,fixed=0.10.13; github.com/mholt/caddy (Go) SEMVER:introduced=0,fixed=0.10.13.
Is there a fix for CVE-2018-21246?
Yes. github.com/caddyserver/caddy (Go): upgrade to 0.10.13 or later; github.com/mholt/caddy (Go): upgrade to 0.10.13 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2018-21246?
Check whether you run github.com/caddyserver/caddy (Go) or github.com/mholt/caddy (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/caddyserver/caddy (Go): upgrade to 0.10.13 or later
    go get github.com/caddyserver/caddy@v0.10.13
  • github.com/mholt/caddy (Go): upgrade to 0.10.13 or later
    go get github.com/mholt/caddy@v0.10.13

Affected products

  • github.com/caddyserver/caddy (Go) SEMVER:introduced=0,fixed=0.10.13
  • github.com/mholt/caddy (Go) SEMVER:introduced=0,fixed=0.10.13

Identifiers

  • CVE-2018-21246
  • GHSA-gr7w-x2jp-3xgw
  • GO-2020-0043

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.