CVE-2012-3503: Katello uses hard coded credential
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.78831%
CWE
Published
5/17/2022
Updated
4/12/2024
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
katello | rubygems | < 1.0.6 | 1.0.6 |
katello | rubygems | >= 1.1.0, < 1.1.7 | 1.1.7 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the static assignment of Application.config.secret_token in secret_token.rb, as shown in the pre-patch code. The commit diff explicitly replaces this hard-coded value with dynamic generation logic. While the RPM spec file's postun script placement was incorrect, the root vulnerability manifests in the application's use of a non-unique secret token defined in this initializer file. The CWE-798 classification and patch confirmation further validate this as the vulnerable function.