CVE-2022-0852: Medium severity Convert2rhel Project Convert2rhel vulnerability
In convert2rhel's subscription.py file, code to register a system passes the password via the commandline. This could result in disclosure of the password to all users with local access to the system.
Reference:
1. https://github.com/oamg/convert2rhel/blob/main/convert2rhel/subscription.py#L156
Other sources
There is a flaw in convert2rhel. convert2rhel passes the Red Hat account password to subscription-manager via the command line, which could allow unauthorized users locally on the machine to view the password via the process command line via e.g. htop or ps. The specific impact varies upon the privileges of the Red Hat account in question, but it could affect the integrity, availability, and/or data confidentiality of other systems that are administered by that account. This occurs regardless of how the password is supplied to convert2rhel.
— MITRE
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2022-0852?
CVE-2022-0852 is a vulnerability in convert2rhel that allows unauthorized users to view the Red Hat account password via the process command line.
How does CVE-2022-0852 affect Red Hat Enterprise Linux 6.0?
CVE-2022-0852 affects Red Hat Enterprise Linux 6.0 by allowing unauthorized users to view the Red Hat account password via the process command line.
How does CVE-2022-0852 affect Red Hat Enterprise Linux 7.0?
CVE-2022-0852 affects Red Hat Enterprise Linux 7.0 by allowing unauthorized users to view the Red Hat account password via the process command line.
How does CVE-2022-0852 affect Red Hat Enterprise Linux 8.0?
CVE-2022-0852 affects Red Hat Enterprise Linux 8.0 by allowing unauthorized users to view the Red Hat account password via the process command line.
How severe is CVE-2022-0852?
CVE-2022-0852 has a severity rating of high.
How can I fix CVE-2022-0852?
To fix CVE-2022-0852, update convert2rhel to version 0.26 or later and follow the recommendations provided by Red Hat.