CVE-2022-0851: Infoleak
In convert2rhel's subscription.py file, code to register a system passes the activation key via the commandline. This could result in disclosure of the activation key to all users with local access to the system.
Reference:
1. https://github.com/oamg/convert2rhel/blob/main/convert2rhel/subscription.py#L135
Other sources
There is a flaw in convert2rhel. When the --activationkey option is used with convert2rhel, the activation key is subsequently passed to subscription-manager via the command line, which could allow unauthorized users locally on the machine to view the activation key via the process command line via e.g. htop or ps. The specific impact varies upon the subscription, but generally this would allow an attacker to register systems purchased by the victim until discovered; a form of fraud. This could occur regardless of how the activation key is supplied to convert2rhel because it involves how convert2rhel provides it to subscription-manager.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is CVE-2022-0851?
CVE-2022-0851 is a vulnerability in convert2rhel that allows unauthorized users to view the activation key via the process command line.
How does CVE-2022-0851 affect Red Hat Enterprise Linux?
CVE-2022-0851 affects Red Hat Enterprise Linux versions 7.0 and 8.0.
What is the severity of CVE-2022-0851?
CVE-2022-0851 has a severity level of medium with a CVSS score of 5.5.
How can unauthorized users exploit CVE-2022-0851?
Unauthorized users can exploit CVE-2022-0851 by using the --activationkey option with convert2rhel to view the activation key via the process command line.
Is there a fix for CVE-2022-0851?
Yes, a fix for CVE-2022-0851 is available. Please refer to the Red Hat Bugzilla links provided for more information.