CVE-2023-33959 Verification bypass can cause users into verifying the wrong artifact

High 8.4 Published Updated

Attackers can trick users into verifying malicious artifacts by bypassing verification checks in the notation-go library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-33959?

CVE-2023-33959 is a high-severity vulnerability in notaryproject notation-go, published on 6 Jun 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

notation is a CLI tool to sign and verify OCI artifacts and container images. An attacker who has compromised a registry can cause users to verify the wrong artifact. The problem has been fixed in the release v1.0.0-rc.6. Users should upgrade their notation-go library to v1.0.0-rc.6 or above. Users unable to upgrade may restrict container registries to a set of secure and trusted container registries.

Weakness: CWE-347

Which versions are affected by CVE-2023-33959?

3 open source packages ship an affected version, including github.com/notaryproject/notation-go. It affects 1 product.

PackageAffectedFixed in
github.com/notaryproject/notation-go GoAll versions1.0.0-rc.6
github.com/notaryproject/notation-go GoAll versions1.0.0-rc.6
github.com/notaryproject/notation-go GoAll versions1.0.0-rc.6

Products include Notaryproject Notation-Go.

How do I fix CVE-2023-33959?

Upgrade github.com/notaryproject/notation-go to 1.0.0-rc.6 or later.

Is CVE-2023-33959 being exploited?

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

Sources

Also known as GHSA-xhg5-42rf-296r, GO-2023-1832.

Is CVE-2023-33959 in your software?

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

Check your SBOMs for free