CVE-2021-3684 OpenShift Assisted Installer leaks image pull secrets as plaintext in installation logs

Medium 5.5 Published Updated

Authenticated users can access plaintext image pull secrets from installation logs, allowing unauthorized container image pulls.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-3684?

CVE-2021-3684 is a medium-severity vulnerability in Redhat Openshift Container Platform, published on 24 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in OpenShift Assisted Installer. During generation of the Discovery ISO, image pull secrets were leaked as plaintext in the installation logs. An authenticated user could exploit this by re-using the image pull secret to pull container images from the registry as the associated user.

Weakness: CWE-532

Which versions are affected by CVE-2021-3684?

2 open source packages ship an affected version, including github.com/openshift/assisted-installer. It affects 2 products.

PackageAffectedFixed in
github.com/openshift/assisted-installer GoAll versions1.0.25.1
github.com/openshift/assisted-installer GoAll versions1.0.25.1

Products include Redhat Openshift Assisted Installer, Redhat Openshift Container Platform.

How do I fix CVE-2021-3684?

Upgrade github.com/openshift/assisted-installer to 1.0.25.1 or later.

Is CVE-2021-3684 being exploited?

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

Sources

Also known as GHSA-g8xm-p2h4-v6jp.

Is CVE-2021-3684 in your software?

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

Check your SBOMs for free