GHSA-gvvw-rr8m-fj76: Uniapi Uniapi Version 1.0.7 Contained An Vulnerability

HIGH
Published
Advisory Summary

GHSA-gvvw-rr8m-fj76 is a HIGH uniapi version 1.0.7 contained an vulnerability (General Security Weakness) affecting Uniapi libraries in the PyPI ecosystem. The issue involves uniapi version 1.0.7 contained an information harvesting script.. Remediation is available in the latest vendor maintenance releases.

GHSA-gvvw-rr8m-fj76 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-gvvw-rr8m-fj76
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Uniapi
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix GHSA-gvvw-rr8m-fj76

To remediate this vulnerability, upgrade all affected Uniapi dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

uniapi fixed: Latest secure release
pip install uniapi>=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 uniapi

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-gvvw-rr8m-fj76, inspect your installed packages using pip:

pip show uniapi

Analyze the terminal output to locate any version of Uniapi 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 uniapi 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 Uniapi, 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

uniapi version 1.0.7 introduces code that would execute on import of the module and download a script from a remote URL, and would then execute the downloaded script in a thread. The downloaded script would harvest system information and `POST` the information to another remote URL. This code was found in the PyPI release artifacts and was not present in the public GitHub repository.

GHSA-gvvw-rr8m-fj76 Affected Uniapi Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
uniapi
PyPI
1.0.7
All 1 versions
1.0.7
None specified

References

Frequently Asked Questions

What is GHSA-gvvw-rr8m-fj76?
GHSA-gvvw-rr8m-fj76 is a security vulnerability in Uniapi involving uniapi version 1.0.7 contained an information harvesting script. under General Security Weakness.
Which Uniapi versions are affected?
Affected versions include releases prior to current release patches across affected packages: uniapi.
What version fixes GHSA-gvvw-rr8m-fj76?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is uniapi affected?
Yes, uniapi is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-gvvw-rr8m-fj76?
GHSA-gvvw-rr8m-fj76 is classified under General Security Weakness.
How can I check PyPI dependencies for GHSA-gvvw-rr8m-fj76?
Run the dependency tree command: 'pip show uniapi'. 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-gvvw-rr8m-fj76",
  "modified" : "2025-02-19T19:59:23Z",
  "published" : "2025-01-27T12:30:28Z",
  "aliases" : [ ],
  "summary" : "uniapi version 1.0.7 contained an information harvesting script.",
  "details" : "uniapi version 1.0.7 introduces code that would execute on import of the module and download a script from a remote URL, and would then execute the downloaded script in a thread. The downloaded script would harvest system information and `POST` the information to another remote URL. This code was found in the PyPI release artifacts and was not present in the public GitHub repository.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "uniapi"
    },
    "versions" : [ "1.0.7" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/kam193/package-campaigns/blob/main/pypi/campaigns/highly_suspicious/2025-01-uniapi.json"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/uniapi/PYSEC-2025-2.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://inspector.pypi.io/project/uniapi/1.0.7/packages/0f/40/c6e06c22bbc22ef45f40bf5a7711763fa08fec4d16b4718d86fd60970131/uniapi-1.0.7.tar.gz/uniapi-1.0.7/uniapi/__init__.py#line.11"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-01-27T12:30:28Z",
    "nvd_published_at" : null
  }
}