CVE-2021-37219: HashiCorp Consul and Consul Enterprise 1.10.1 Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling privilege escalation.

High CVSS 8.8

CVE id
CVE-2021-37219
Published
Last modified

Affected packages

PackageAffected versionsFixed in
Consul
Runtimes and servers
< 1.8.15
>= 1.9.0, < 1.9.9
>= 1.10.0, < 1.10.2
1.8.15, 1.9.9, 1.10.2
Consul Enterprise
Runtimes and servers
< 1.8.15
>= 1.9.0, < 1.9.9
>= 1.10.0, < 1.10.2
1.8.15, 1.9.9, 1.10.2

How to fix it

Consul (Runtimes and servers)

Upgrade Consul to the fixed release of the line you run: 1.8.15, 1.9.9, 1.10.2.

consul version
  • Upgrade Consul (the hashicorp/consul image or binary) to the patched release.

Consul Enterprise (Runtimes and servers)

Upgrade Consul Enterprise to the fixed release of the line you run: 1.8.15, 1.9.9, 1.10.2.

consul version
  • 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 and Consul Enterprise 1.10.1 Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling privilege escalation. Fixed in 1.8.15, 1.9.9 and 1.10.2.

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.