CVE-2021-20259: Foreman fog proxmox Exposure Of Sensitive Information To Vulnerability
HIGHCVE-2021-20259 is a HIGH (CVSS 7.8) exposure of sensitive information to vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Foreman fog proxmox libraries in the RubyGems ecosystem. The issue involves exposure of sensitive information to an unauthorized actor in foreman_fog_proxmox. Remediation is available by upgrading affected packages to version 0.13.1.
CVE-2021-20259 at a Glance
Security Impact
CVSS: 7.8
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:H/A:H).
How to Fix CVE-2021-20259
To remediate this vulnerability, upgrade all affected Foreman fog proxmox 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 foreman_fog_proxmox to 0.13.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for foreman_fog_proxmox
How to Check if You Are Affected
To determine whether your application is affected by CVE-2021-20259, inspect your project dependencies for Foreman fog proxmox:
inspect dependencies for foreman_fog_proxmox
Analyze the terminal output to locate any version of Foreman fog proxmox in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.13.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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Foreman fog proxmox, 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-20259 Affected Foreman fog proxmox Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
foreman_fog_proxmox
|
RubyGems |
< 0.13.1
|
0.13.1
|
References
Frequently Asked Questions
What is CVE-2021-20259?
Which Foreman fog proxmox versions are affected?
What version fixes CVE-2021-20259?
Is foreman_fog_proxmox affected?
What is the CVSS score of CVE-2021-20259?
What CWE is associated with CVE-2021-20259?
How can I check RubyGems dependencies for CVE-2021-20259?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f2rp-4rv7-fc95",
"modified" : "2023-01-24T15:07:15Z",
"published" : "2021-06-10T15:54:43Z",
"aliases" : [ "CVE-2021-20259" ],
"summary" : "Exposure of Sensitive Information to an Unauthorized Actor in foreman_fog_proxmox",
"details" : "A flaw was found in the Foreman project. The Proxmox compute resource exposes the password through the API to an authenticated local attacker with view_hosts permission. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. Versions of foreman_fog_proxmox prior to 0.13.1 are affected.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "foreman_fog_proxmox"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.13.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-20259"
}, {
"type" : "WEB",
"url" : "https://github.com/theforeman/foreman_fog_proxmox/pull/184/commits/b7e910bf61563f5d447c71b1b41e2a373a794d7b"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1932144"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/theforeman/foreman_fog_proxmox"
}, {
"type" : "WEB",
"url" : "https://github.com/theforeman/foreman_fog_proxmox/releases/tag/v0.13.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-06-10T14:58:17Z",
"nvd_published_at" : "2021-06-07T21:15:00Z"
}
}