GHSA-g5vp-j278-8pjh: Duplicate Advisory Remote Code Execution Vulnerability

HIGH
CVSS 8.1
CWE-94
Published
Advisory Summary

GHSA-g5vp-j278-8pjh is a HIGH (CVSS 8.1) remote code execution vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves torchgeo remote code execution vulnerability. Remediation is available by upgrading affected packages to version 0.6.1.

GHSA-g5vp-j278-8pjh at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-g5vp-j278-8pjh
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Duplicate Advisory
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-g5vp-j278-8pjh

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

torchgeo fixed: 0.6.1
pip install torchgeo>=0.6.1
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 torchgeo

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-g5vp-j278-8pjh, inspect your installed packages using pip:

pip show torchgeo

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.1), your application is affected.

Note: The pip show torchgeo command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Duplicate Advisory, 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

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-ghq9-vc6f-8qjf. This link is maintained to preserve external references. ## Original Description TorchGeo Remote Code Execution Vulnerability

GHSA-g5vp-j278-8pjh Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
0.6.1
Product / Package Ecosystem Affected Versions Fixed Version
torchgeo
PyPI
< 0.6.1
0.6.1

References

Frequently Asked Questions

What is GHSA-g5vp-j278-8pjh?
GHSA-g5vp-j278-8pjh is a security vulnerability in Duplicate Advisory involving TorchGeo Remote Code Execution Vulnerability under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 0.6.1 across affected packages: torchgeo.
What version fixes GHSA-g5vp-j278-8pjh?
Upgrading to 0.6.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is torchgeo affected?
Yes, torchgeo is affected in releases prior to 0.6.1. Upgrade your dependency to 0.6.1 or later.
What is the CVSS score of GHSA-g5vp-j278-8pjh?
GHSA-g5vp-j278-8pjh has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with GHSA-g5vp-j278-8pjh?
GHSA-g5vp-j278-8pjh is classified under CWE-94: Improper Control of Generation of Code ('Code Injection') (The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.).
How can I check PyPI dependencies for GHSA-g5vp-j278-8pjh?
Run the dependency tree command: 'pip show torchgeo'. 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-g5vp-j278-8pjh",
  "modified" : "2026-04-01T00:03:50Z",
  "published" : "2024-11-12T18:30:59Z",
  "withdrawn" : "2026-04-01T00:03:50Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: TorchGeo Remote Code Execution Vulnerability",
  "details" : "## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-ghq9-vc6f-8qjf. This link is maintained to preserve external references.\n\n## Original Description\nTorchGeo Remote Code Execution Vulnerability",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "torchgeo"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.6.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-49048"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/microsoft/torchgeo/pull/2323"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/microsoft/torchgeo"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/microsoft/torchgeo/releases/tag/v0.6.1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/torchgeo/PYSEC-2024-204.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-49048"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-94" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-01-21T19:43:05Z",
    "nvd_published_at" : "2024-11-12T18:15:45Z"
  }
}