CVE-2019-9764: HashiCorp Consul 1.4.3 lacks server hostname verification for agent-to-agent TLS communication.

High CVSS 7.4

CVE id
CVE-2019-9764
Published
Last modified

Affected packages

PackageAffected versionsFixed in
Consul
Runtimes and servers
1.4.3 not fixed yet
Consul Enterprise
Runtimes and servers
1.4.3 not fixed yet

How to fix it

Consul (Runtimes and servers)

No fix yet. No fixed Consul release is listed yet.

consul version
  • Check the advisory and its references below for a workaround or a configuration change that turns off the affected feature.
  • Limit exposure: don't pass untrusted input to the affected code path, and keep it off public endpoints if you can.
  • Upgrade Consul (the hashicorp/consul image or binary) to the patched release.

Consul Enterprise (Runtimes and servers)

No fix yet. No fixed Consul Enterprise release is listed yet.

consul version
  • Check the advisory and its references below for a workaround or a configuration change that turns off the affected feature.
  • Limit exposure: don't pass untrusted input to the affected code path, and keep it off public endpoints if you can.
  • Upgrade Consul Enterprise (the hashicorp/consul-enterprise image or binary) to the patched release.

A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.

Details

HashiCorp Consul 1.4.3 lacks server hostname verification for agent-to-agent TLS communication. In other words, the product behaves as if verifyserverhostname were set to false, even when it is actually set to true. This is fixed in 1.4.4.

References

Am I affected?

Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.

or paste its content

Needed when you paste. package.json and pyproject.toml only have version ranges: use the lockfile next to them.

Only package names and versions are checked; the file itself is not kept. We use your email to send this report and nothing else unless you tick the box above. Privacy policy.

About this data

Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.