Bug 2131990 (CVE-2022-3644)

Summary: CVE-2022-3644 Pulp:Tokens stored in plaintext
Product: [Other] Security Response Reporter: Vipul Nair <vinair>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: adudiak, bbuckingham, bcoca, bcourt, bkearney, davidn, ehelms, epacific, jcammara, jhardy, jneedle, jobarker, jsherril, lzap, mabashia, mhulan, mmccune, nmoumoul, orabin, pcreech, rchan, simaishi, smcdonal, stcannon, tfister, yguenane, zsadeh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw exists in the collection remote for pulp_ansible, where tokens are stored in plaintext instead of using pulp's encrypted field. This flaw allows an attacker with sufficient privileges to read the stored tokens, resulting in the loss of confidentiality.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2132584, 2132585, 2134729    
Bug Blocks: 2130948    

Description Vipul Nair 2022-10-04 12:25:46 UTC
The collection remote for pulp_ansible stores tokens in plaintext instead of using pulp's encrypted field (https://github.com/pulp/pulp_ansible/blob/main/pulp_ansible/app/models.py#L234) and exposes them in read/write mode via the API (https://github.com/pulp/pulp_ansible/blob/main/pulp_ansible/app/serializers.py#L170) instead of marking it as write only.

Comment 11 errata-xmlrpc 2023-11-08 14:16:53 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.14 for RHEL 8

Via RHSA-2023:6818 https://access.redhat.com/errata/RHSA-2023:6818