GHSA-h29g-c9cx-c73q: Torrentpier/torrentpier Torrentpier Has PHP Serialize Injections Vulnerability

CRITICAL
CWE-502
Published
Advisory Summary

GHSA-h29g-c9cx-c73q is a CRITICAL torrentpier has php serialize injections vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Torrentpier/torrentpier libraries in the Packagist ecosystem. The issue involves torrentpier has php serialize injections. Remediation is available by upgrading affected packages to version 2.4.4.

GHSA-h29g-c9cx-c73q at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-h29g-c9cx-c73q
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Torrentpier/torrentpier
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-h29g-c9cx-c73q

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

torrentpier/torrentpier fixed: 2.4.4
Upgrade torrentpier/torrentpier to 2.4.4
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for torrentpier/torrentpier

How to Check if You Are Affected

To determine whether your application is affected by GHSA-h29g-c9cx-c73q, inspect your project dependencies for Torrentpier/torrentpier:

inspect dependencies for torrentpier/torrentpier

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

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Torrentpier/torrentpier, 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

### Summary Hi, there. We've found PHP Serialize Injections in your project “torrentpier". According to the OWASP, it can pose a significant risk: enable an attacker to modify serialized objects in order to inject malicious data into the application code, resulting in code execution or an arbitrary reading of the file on any vulnerable system. ### Details In the attachment you can find a report with the number of vulnerabilities, their types and the vulnerable files. To view the lines of vulnerable code you may scan your project with the "[PHP Secure](https://phpsecure.net/?utm_source=github&utm_term=torrentpier&utm_content=torrentpier)" vulnerability scanner with a full access to it. ### PoC <img width="663" alt="Screenshot 2023-09-25 at 11 12 32 AM" src="https://user-images.githubusercontent.com/118765013/270273991-4a2c3884-3ab0-48ad-af77-3f3dbfa64e2a.png"> <img width="661" alt="Screenshot 2023-09-25 at 11 12 43 AM" src="https://user-images.githubusercontent.com/118765013/270274006-247ed9d3-2dc0-4a87-8f1f-89079c8be165.png"> <img width="664" alt="Screenshot 2023-09-25 at 11 12 53 AM" src="https://user-images.githubusercontent.com/118765013/270274018-b99d6ec2-4c5a-439f-b089-9e11345e963d.png"> <img width="662" alt="Screenshot 2023-09-25 at 11 13 13 AM" src="https://user-images.githubusercontent.com/118765013/270274023-36ecffc7-215d-41db-b3ba-6aa677e644d3.png"> ### About Us We are a team of developers of the PHP Secure vulnerability scanner. First, we checked your code automatically. Then we reviewed the vulnerable code more deeply manually and felt it was necessary to report about it to you. We suggest you scanning your code and address vulnerabilities as soon as possible to prevent a potential breach. If you have any questions, email us at support@phpsecure.net"

GHSA-h29g-c9cx-c73q Affected Torrentpier/torrentpier Versions

1 component(s)
Fixed Versions:
2.4.4
Product / Package Ecosystem Affected Versions Fixed Version
torrentpier/torrentpier
Packagist
< 2.4.4
2.4.4

References

Frequently Asked Questions

What is GHSA-h29g-c9cx-c73q?
GHSA-h29g-c9cx-c73q is a security vulnerability in Torrentpier/torrentpier involving torrentpier has PHP Serialize Injections under CWE-502: Deserialization of Untrusted Data.
Which Torrentpier/torrentpier versions are affected?
Affected versions include releases prior to 2.4.4 across affected packages: torrentpier/torrentpier.
What version fixes GHSA-h29g-c9cx-c73q?
Upgrading to 2.4.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is torrentpier/torrentpier affected?
Yes, torrentpier/torrentpier is affected in releases prior to 2.4.4. Upgrade your dependency to 2.4.4 or later.
What CWE is associated with GHSA-h29g-c9cx-c73q?
GHSA-h29g-c9cx-c73q is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check Packagist dependencies for GHSA-h29g-c9cx-c73q?
Run the dependency tree command: 'inspect dependencies for torrentpier/torrentpier'. 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-h29g-c9cx-c73q",
  "modified" : "2026-05-11T17:53:20Z",
  "published" : "2026-05-11T17:53:20Z",
  "aliases" : [ ],
  "summary" : "torrentpier has PHP Serialize Injections",
  "details" : "### Summary\nHi, there. We've found PHP Serialize Injections in your project “torrentpier\". According to the OWASP, it can pose a significant risk: enable an attacker to modify serialized objects in order to inject malicious data into the application code, resulting in code execution or an arbitrary reading of the file on any vulnerable system. \n                                        \n### Details\nIn the attachment you can find a report with the number of vulnerabilities, their types and the vulnerable files. To view the lines of vulnerable code you may scan your project with the \"[PHP Secure](https://phpsecure.net/?utm_source=github&utm_term=torrentpier&utm_content=torrentpier)\" vulnerability scanner with a full access to it.\n\n### PoC\n<img width=\"663\" alt=\"Screenshot 2023-09-25 at 11 12 32 AM\" src=\"https://user-images.githubusercontent.com/118765013/270273991-4a2c3884-3ab0-48ad-af77-3f3dbfa64e2a.png\">\n<img width=\"661\" alt=\"Screenshot 2023-09-25 at 11 12 43 AM\" src=\"https://user-images.githubusercontent.com/118765013/270274006-247ed9d3-2dc0-4a87-8f1f-89079c8be165.png\">\n<img width=\"664\" alt=\"Screenshot 2023-09-25 at 11 12 53 AM\" src=\"https://user-images.githubusercontent.com/118765013/270274018-b99d6ec2-4c5a-439f-b089-9e11345e963d.png\">\n<img width=\"662\" alt=\"Screenshot 2023-09-25 at 11 13 13 AM\" src=\"https://user-images.githubusercontent.com/118765013/270274023-36ecffc7-215d-41db-b3ba-6aa677e644d3.png\">\n\n### About Us\nWe are a team of developers of the PHP Secure vulnerability scanner. First, we checked your code automatically. Then we reviewed the vulnerable code more deeply manually and felt it was necessary to report about it to you. We suggest you scanning your code and address vulnerabilities as soon as possible to prevent a potential breach.\n\nIf you have any questions, email us at support@phpsecure.net\"",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "torrentpier/torrentpier"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.4.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.4.3"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/torrentpier/torrentpier/security/advisories/GHSA-h29g-c9cx-c73q"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/torrentpier/torrentpier"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-11T17:53:20Z",
    "nvd_published_at" : null
  }
}