CVE-2021-3684: Github.com/openshift/assisted installer OpenShift Assisted Installer Leaks Image Vulnerability
MODERATECVE-2021-3684 is a MODERATE (CVSS 5.5) openshift assisted installer leaks image vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Github.com/openshift/assisted installer libraries in the Go ecosystem. The issue involves openshift assisted installer leaks image pull secrets as plaintext in installation logs. Remediation is available by upgrading affected packages to version 1.0.25.1.
CVE-2021-3684 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2021-3684
To remediate this vulnerability, upgrade all affected Github.com/openshift/assisted installer dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/openshift/assisted-installer to 1.0.25.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/openshift/assisted-installer
How to Check if You Are Affected
To determine whether your application is affected by CVE-2021-3684, inspect your project dependencies for Github.com/openshift/assisted installer:
inspect dependencies for github.com/openshift/assisted-installer
Analyze the terminal output to locate any version of Github.com/openshift/assisted installer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.25.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Github.com/openshift/assisted installer, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2021-3684 Affected Github.com/openshift/assisted installer Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/openshift/assisted-installer
|
Go |
< 1.0.25.1
|
1.0.25.1
|
References
Frequently Asked Questions
What is CVE-2021-3684?
Which Github.com/openshift/assisted installer versions are affected?
What version fixes CVE-2021-3684?
Is github.com/openshift/assisted-installer affected?
What is the CVSS score of CVE-2021-3684?
What CWE is associated with CVE-2021-3684?
How can I check Go dependencies for CVE-2021-3684?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g8xm-p2h4-v6jp",
"modified" : "2023-04-04T15:24:49Z",
"published" : "2023-03-24T21:30:48Z",
"aliases" : [ "CVE-2021-3684" ],
"summary" : "OpenShift Assisted Installer leaks image pull secrets as plaintext in installation logs",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/openshift/assisted-installer"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.25.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-3684"
}, {
"type" : "WEB",
"url" : "https://github.com/openshift/assisted-installer/commit/2403dad3795406f2c5d923af0894e07bc8b0bdc4"
}, {
"type" : "WEB",
"url" : "https://github.com/openshift/assisted-installer/commit/f3800cfa3d64ce6dcd6f7b73f0578bb99bfdaf7a"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1985962"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openshift/assisted-installer"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-03-24T21:59:18Z",
"nvd_published_at" : "2023-03-24T20:15:00Z"
}
}