GHSA-486g-47cc-8wxf: Aiocpa Aiocpa Contains Credential Harvesting Code Vulnerability
HIGHGHSA-486g-47cc-8wxf is a HIGH aiocpa contains credential harvesting code vulnerability (General Security Weakness) affecting Aiocpa libraries in the PyPI ecosystem. The issue involves aiocpa contains credential harvesting code. Remediation is available in the latest vendor maintenance releases.
GHSA-486g-47cc-8wxf at a Glance
How to Fix GHSA-486g-47cc-8wxf
To remediate this vulnerability, upgrade all affected Aiocpa 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 aiocpa>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show aiocpa
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-486g-47cc-8wxf, inspect your installed packages using pip:
pip show aiocpa
Analyze the terminal output to locate any version of Aiocpa in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show aiocpa command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Aiocpa, 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
GHSA-486g-47cc-8wxf Affected Aiocpa Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
aiocpa
|
PyPI |
≥ 0.1.13
≤ 0.1.14
|
|
References
Frequently Asked Questions
What is GHSA-486g-47cc-8wxf?
Which Aiocpa versions are affected?
What version fixes GHSA-486g-47cc-8wxf?
Is aiocpa affected?
What CWE is associated with GHSA-486g-47cc-8wxf?
How can I check PyPI dependencies for GHSA-486g-47cc-8wxf?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-486g-47cc-8wxf",
"modified" : "2024-11-25T22:08:57Z",
"published" : "2024-11-25T22:08:57Z",
"aliases" : [ ],
"summary" : "aiocpa contains credential harvesting code",
"details" : "aiocpa is a user-facing library for generating color gradients of text. Version 0.1.13 introduced obfuscated, malicious code targeting Crypto Pay users, forwarding client credentials to a remote Telegram bot. All versions have been removed from PyPI.\n",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "aiocpa"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.1.13"
}, {
"last_affected" : "0.1.14"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://blog.pypi.org/posts/2024-11-25-aiocpa-attack-analysis"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/aiocpa/PYSEC-2024-152.yaml"
}, {
"type" : "WEB",
"url" : "https://inspector.pypi.io/project/aiocpa/0.1.13/packages/ab/98/7343281068a2c39086d0b877219668a487508197f46e89b3f41046a4a8ba/aiocpa-0.1.13.tar.gz/aiocpa-0.1.13/cryptopay/utils/sync.py#line.44"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-11-25T22:08:57Z",
"nvd_published_at" : null
}
}