{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-37704 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-37704 is a medium-severity command injection vulnerability in n/a, published on 16 Apr 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-37704 and fix it if it is affected.\n\nWhat it is: CVE-2022-37704 is a medium-severity command injection vulnerability in n/a, published on 16 Apr 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-37704 in the wild and no public exploit code.\n\nAffected product: n/a. 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-37704/ (Markdown: https://insights.sbomify.com/CVE-2022-37704/index.md)","id":"CVE-2022-37704","markdown":"https://insights.sbomify.com/CVE-2022-37704/index.md","name":"CVE-2022-37704","record":{"aliases":["DEBIAN-CVE-2022-37704","DLA-3330-1","GHSA-2699-8r69-fq67","UBUNTU-CVE-2022-37704"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation","denial_of_service","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Amanda backup system","requires_auth":"high_privilege","summary":"Amanda's SUID binary allows local attackers to execute arbitrary commands as root, leading to privilege escalation and data exposure.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"amanda","vendor":"zmanda"}],"cvss":{"score":6.7,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"Amanda 3.5.1 allows privilege escalation from the regular user backup to root. The SUID binary located at /lib/amanda/rundump will execute /usr/sbin/dump as root with controlled arguments from the attacker which may lead to escalation of privileges, denial of service, and information disclosure.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-10-23","github_poc":1,"max_poc_stars":4,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-10-23T11:43:49Z","kind":"github_poc","ref":"https://github.com/MaherAzzouzi/CVE-2022-37704","stars":4,"title":"Amanda 3.5.1 LPE"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Command injection in n/a","id":"CVE-2022-37704","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2022"},"n_packages":0,"n_references":11,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2022-37705"},"packages":[],"prev":{"headline":"Path traversal in n/a","id":"CVE-2022-37703"},"products":["n/a"],"published":"2023-04-16","related":[{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2019-19469","kev_date_added":null,"published":"2019-12-01"},{"cvss_score":7.8,"headline":"Command injection in n/a","id":"CVE-2023-30577","kev_date_added":null,"published":"2023-07-26"},{"cvss_score":6.7,"headline":"Privilege escalation in n/a","id":"CVE-2022-37705","kev_date_added":null,"published":"2023-04-16"}],"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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["n/a"]},"summary":"Amanda's SUID binary allows local attackers to execute arbitrary commands as root, leading to privilege escalation and data exposure.","url":"https://insights.sbomify.com/CVE-2022-37704/"}