{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-0848 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-0848 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-0848 is a critical command injection vulnerability in part-db/part-db, published on 4 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-0848 and fix it if it is affected.\n\nWhat it is: CVE-2022-0848 is a critical command injection vulnerability in part-db/part-db, published on 4 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-0848 in the wild and no public exploit code.\n\nAffected product: part-db/part-db. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2022-0848/ (Markdown: https://insights.sbomify.com/CVE-2022-0848/index.md)","id":"CVE-2022-0848","markdown":"https://insights.sbomify.com/CVE-2022-0848/index.md","name":"CVE-2022-0848","record":{"aliases":["GHSA-px7p-wv92-2466"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"part-db","requires_auth":"none","summary":"An OS command injection vulnerability in part-db allows attackers to execute arbitrary commands on the underlying system.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"part-db","vendor":"part-db_project"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"OS Command Injection in GitHub repository part-db/part-db prior to 0.5.11.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2022-03-07","github_poc":2,"max_poc_stars":3,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-03-11T07:26:04Z","kind":"github_poc","ref":"https://github.com/dskmehra/CVE-2022-0848","stars":3,"title":null},{"date":"2022-07-15T08:10:38Z","kind":"github_poc","ref":"https://github.com/Lay0us/CVE-2022-0848-RCE","stars":1,"title":null},{"date":"2022-03-07","kind":"exploitdb","ref":"50800","stars":null,"title":"part-db 0.5.11 - Remote Code Execution (RCE)"}],"tier":"poc_unverified"},"has_fix":false,"headline":"OS Command Injection in part-db/part-db","id":"CVE-2022-0848","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"Use After Free in r_reg_get_name_idx in radareorg/radare2","id":"CVE-2022-0849"},"packages":[],"prev":{"headline":"Linux Kernel Privilege Escalation","id":"CVE-2022-0847"},"products":["part-db/part-db"],"published":"2022-03-04","related":[{"cvss_score":6.1,"headline":"HTML/XSS injection possibilities in Part-DB","id":"CVE-2023-26042","kev_date_added":null,"published":"2023-02-27"},{"cvss_score":5.7,"headline":"Part-DB Persistent Denial of Service via Uncaught Exception from Misleading File Extension in Avatar Upload","id":"CVE-2025-55194","kev_date_added":null,"published":"2025-08-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["part-db"]},"summary":"An OS command injection vulnerability in part-db allows attackers to execute arbitrary commands on the underlying system.","url":"https://insights.sbomify.com/CVE-2022-0848/"}