{"answers":{"affected":"2 open source packages ship an affected version, including torrentpier/torrentpier. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-1651 exists.","fix":"No fix has been published for CVE-2024-1651 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-1651 is a critical unsafe deserialization vulnerability in Torrentpier, published on 19 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-1651 and fix it if it is affected.\n\nWhat it is: CVE-2024-1651 is a critical unsafe deserialization vulnerability in Torrentpier, published on 19 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-1651 exists.\n\nAffected packages and fixed versions:\n- torrentpier/torrentpier (Packagist): affected all versions up to 2.4.1; no fix listed\n- torrentpier/torrentpier (Packagist): affected all versions up to 2.4.1; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-1651/ (Markdown: https://insights.sbomify.com/CVE-2024-1651/index.md)","id":"CVE-2024-1651","markdown":"https://insights.sbomify.com/CVE-2024-1651/index.md","name":"CVE-2024-1651","record":{"aliases":["GHSA-5rwm-2xw8-hh9p"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Torrentpier web application","requires_auth":"none","summary":"Attackers can execute arbitrary commands on the server via insecure deserialization in Torrentpier.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Fluid Attacks","cpe":[{"product":"torrentpier","vendor":"torrentpier"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"Torrentpier version 2.4.1 allows executing arbitrary commands on the server.\n\nThis is possible because the application is vulnerable to insecure deserialization.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2024-02-23","github_poc":3,"max_poc_stars":15,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-02-23T11:04:24Z","kind":"github_poc","ref":"https://github.com/sharpicx/CVE-2024-1651-PoC","stars":15,"title":"Torrentpier v2.4.1. CVE-2024-1651. Remote Code Execution (RCE). Exploit."},{"date":"2024-04-19T16:18:59Z","kind":"github_poc","ref":"https://github.com/Whiteh4tWolf/CVE-2024-1651-PoC","stars":0,"title":null},{"date":"2025-02-20T07:29:34Z","kind":"github_poc","ref":"https://github.com/killukeren/cve-2024-1651","stars":0,"title":"anu"}],"tier":"weaponised"},"has_fix":false,"headline":"Torrentpier 2.4.1 - RCE","id":"CVE-2024-1651","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"deserialization","year":"2024"},"n_packages":2,"n_references":2,"next":{"headline":"Categorify \u003c= 1.0.7.4 - Missing Authorization in categorifyAjaxClearCategory","id":"CVE-2024-1652"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["2.4.1"],"package":"torrentpier/torrentpier","purl":null,"source":"GHSA-5rwm-2xw8-hh9p"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["2.4.1"],"package":"torrentpier/torrentpier","purl":"pkg:composer/torrentpier/torrentpier","source":"GHSA-5rwm-2xw8-hh9p"}],"prev":{"headline":"Categorify \u003c= 1.0.7.4 - Missing Authorization in categorifyAjaxRenameCategory","id":"CVE-2024-1650"},"products":["Torrentpier"],"published":"2024-02-19","related":[{"cvss_score":8.8,"headline":"TorrentPier is Vulnerable to Authenticated SQL Injection through Moderator Control Panel's topic_id parameter","id":"CVE-2025-64519","kev_date_added":null,"published":"2025-11-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-27","vendors":["Torrentpier"]},"summary":"Attackers can execute arbitrary commands on the server via insecure deserialization in Torrentpier.","url":"https://insights.sbomify.com/CVE-2024-1651/"}