Vulnerabilities in pkg:pypi/aiocpa

PACKAGE
Advisory Summary

GHSA-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/aiocpa

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/aiocpa. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-486g-47cc-8wxf - HIGH aiocpa contains credential harvesting code

GHSA-486g-47cc-8wxf at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-486g-47cc-8wxf
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Aiocpa
Package Ecosystem PyPI
Published Date
Last Updated

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.

aiocpa fixed: Latest secure release
pip install aiocpa>=Latest secure release
Verify Direct and Transitive Dependencies

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

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.

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?
GHSA-486g-47cc-8wxf is a security vulnerability in Aiocpa involving aiocpa contains credential harvesting code under General Security Weakness.
Which Aiocpa versions are affected?
Affected versions include releases prior to current release patches across affected packages: aiocpa.
What version fixes GHSA-486g-47cc-8wxf?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is aiocpa affected?
Yes, aiocpa is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-486g-47cc-8wxf?
GHSA-486g-47cc-8wxf is classified under General Security Weakness.
How can I check PyPI dependencies for GHSA-486g-47cc-8wxf?
Run the dependency tree command: 'pip show aiocpa'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}