CVE-2022-3644: Pulp ansible Plaintext Storage Of Tokens Vulnerability
MODERATECVE-2022-3644 is a MODERATE (CVSS 5.5) plaintext storage of tokens vulnerability (CWE-522: Insufficiently Protected Credentials) affecting Pulp ansible libraries in the PyPI ecosystem. The issue involves plaintext storage of tokens in pulp_ansible. Remediation is available by upgrading affected packages to version 0.15.0.
CVE-2022-3644 at a Glance
Security Impact
CVSS: 5.5
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:N/A:N).
How to Fix CVE-2022-3644
To remediate this vulnerability, upgrade all affected Pulp ansible dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install pulp-ansible>=0.15.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pulp-ansible
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2022-3644, inspect your installed packages using pip:
pip show pulp-ansible
Analyze the terminal output to locate any version of Pulp ansible in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.15.0), your application is affected.
Note: The pip show pulp-ansible command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. In Pulp ansible, 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-2022-3644 Affected Pulp ansible Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pulp-ansible
|
PyPI |
< 0.15.0
|
0.15.0
|
References
Frequently Asked Questions
What is CVE-2022-3644?
Which Pulp ansible versions are affected?
What version fixes CVE-2022-3644?
Is pulp-ansible affected?
What is the CVSS score of CVE-2022-3644?
What CWE is associated with CVE-2022-3644?
How can I check PyPI dependencies for CVE-2022-3644?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qv37-mfjf-42h8",
"modified" : "2022-10-31T16:00:21Z",
"published" : "2022-10-25T19:00:22Z",
"aliases" : [ "CVE-2022-3644" ],
"summary" : "Plaintext storage of tokens in pulp_ansible",
"details" : "The collection remote for pulp_ansible stores tokens in plaintext instead of using pulp's encrypted field and exposes them in read/write mode via the API () instead of marking it as write only. ",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pulp-ansible"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.15.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-3644"
}, {
"type" : "WEB",
"url" : "https://github.com/pulp/pulp_ansible/issues/1221"
}, {
"type" : "WEB",
"url" : "https://github.com/pulp/pulp_ansible/commit/d13c427b09482a7f598d8ee597d17a8a34888665"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pulp/pulp_ansible"
}, {
"type" : "WEB",
"url" : "https://github.com/pulp/pulp_ansible/blob/main/pulp_ansible/app/models.py#L234"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-256", "CWE-522" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-10-25T22:28:13Z",
"nvd_published_at" : "2022-10-25T18:15:00Z"
}
}