CVE-2021-43415 Improper Authentication in HashiCorp Nomad

High 8.8 Published Updated

Authenticated users can bypass image path restrictions in the QEMU task driver, potentially executing unauthorized workloads.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-43415?

CVE-2021-43415 is a high-severity vulnerability in n/a, published on 3 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

HashiCorp Nomad and Nomad Enterprise up to 1.0.13, 1.1.7, and 1.2.0, with the QEMU task driver enabled, allowed authenticated users with job submission capabilities to bypass the configured allowed image paths. Fixed in 1.0.14, 1.1.8, and 1.2.1.

Which versions are affected by CVE-2021-43415?

7 open source packages ship an affected version, including github.com/hashicorp/nomad. It affects 1 product.

PackageAffectedFixed in
github.com/hashicorp/nomad GoAll versions1.0.14, 1.1.8, 1.2.1
github.com/hashicorp/nomad GoAll versions1.0.14
github.com/hashicorp/nomad GoAll versions1.0.14
github.com/hashicorp/nomad GoFrom 1.1.01.1.8
github.com/hashicorp/nomad GoFrom 1.1.01.1.8
github.com/hashicorp/nomad GoFrom 1.2.01.2.1
1 more packages
github.com/hashicorp/nomad GoFrom 1.2.01.2.1

Products include Hashicorp Nomad.

How do I fix CVE-2021-43415?

Upgrade github.com/hashicorp/nomad to a fixed version for your release line: 1.0.14, 1.1.8 or 1.2.1.

Is CVE-2021-43415 being exploited?

There is no known exploitation of CVE-2021-43415 in the wild and no public exploit code.

Sources

Also known as GHSA-2jhh-5xm2-j4gf, GO-2022-0573, UBUNTU-CVE-2021-43415.

Is CVE-2021-43415 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free