{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-37705 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-37705 is a medium-severity 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-37705 and fix it if it is affected.\n\nWhat it is: CVE-2022-37705 is a medium-severity 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-37705 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-37705/ (Markdown: https://insights.sbomify.com/CVE-2022-37705/index.md)","id":"CVE-2022-37705","markdown":"https://insights.sbomify.com/CVE-2022-37705/index.md","name":"CVE-2022-37705","record":{"aliases":["DEBIAN-CVE-2022-37705","GHSA-f6f6-98vp-w8mf","UBUNTU-CVE-2022-37705","openSUSE-SU-2024:12706-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Amanda backup software","requires_auth":"high_privilege","summary":"A local attacker with backup user privileges can escalate to root by exploiting argument injection in the runtar SUID wrapper.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"amanda","vendor":"zmanda"}],"cvss":{"score":6.7,"severity":"medium","source":"nvd","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-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"description":"A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root privileges. The vulnerable component is the runtar SUID program, which is a wrapper to run /usr/bin/tar with specific arguments that are controllable by the attacker. This program mishandles the arguments passed to tar binary (it expects that the argument name and value are separated with a space; however, separating them with an equals sign is also supported),","ecosystems":["openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2022-10-23","github_poc":1,"max_poc_stars":3,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-10-23T11:48:36Z","kind":"github_poc","ref":"https://github.com/MaherAzzouzi/CVE-2022-37705","stars":3,"title":"Amanda 3.5.1 second LPE."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Privilege escalation in n/a","id":"CVE-2022-37705","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2022"},"n_packages":1,"n_references":12,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2022-37706"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.5.2-3.1"],"introduced":["0"],"last_affected":[],"package":"amanda","purl":"pkg:rpm/opensuse/amanda\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12706-1"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2022-37704"},"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":"Command injection in n/a","id":"CVE-2022-37704","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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"A local attacker with backup user privileges can escalate to root by exploiting argument injection in the runtar SUID wrapper.","url":"https://insights.sbomify.com/CVE-2022-37705/"}