{"answers":{"affected":"2 open source packages ship an affected version, including percona-xtrabackup and percona-xtrabackup-binary. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-25834 in the wild and no public exploit code.","fix":"Upgrade percona-xtrabackup to a fixed version for your release line: 2.2.24 or 8.0.27-19.","what":"CVE-2022-25834 is a high-severity command injection vulnerability in n/a, published on 7 Jun 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-25834 and fix it if it is affected.\n\nWhat it is: CVE-2022-25834 is a high-severity command injection vulnerability in n/a, published on 7 Jun 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-25834 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- percona-xtrabackup (Bitnami): affected all versions; fixed in 2.2.24, 8.0.27-19\n- percona-xtrabackup-binary (Bitnami): affected all versions; fixed in 2.2.24, 8.0.27-19\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-25834/ (Markdown: https://insights.sbomify.com/CVE-2022-25834/index.md)","id":"CVE-2022-25834","markdown":"https://insights.sbomify.com/CVE-2022-25834/index.md","name":"CVE-2022-25834","record":{"aliases":["BIT-percona-xtrabackup-2022-25834","BIT-percona-xtrabackup-binary-2022-25834","GHSA-hhfm-2xhw-4542","UBUNTU-CVE-2022-25834","USN-6745-1"],"analysis":{"component_type":"database","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Percona XtraBackup","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary commands via crafted filenames in Percona XtraBackup, requiring local access to the file system.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"xtrabackup","vendor":"percona"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/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":"In Percona XtraBackup (PXB) through 2.2.24 and 3.x through 8.0.27-19, a crafted filename on the local file system could trigger unexpected command shell execution of arbitrary commands.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Command injection in n/a","id":"CVE-2022-25834","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"command_injection","year":"2022"},"n_packages":2,"n_references":2,"next":{"headline":"Auth bypass in n/a","id":"CVE-2022-25836"},"packages":[{"ecosystem":"Bitnami","fixed":["2.2.24","8.0.27-19"],"introduced":["0","3.0.0"],"last_affected":[],"package":"percona-xtrabackup","purl":"pkg:bitnami/percona-xtrabackup","source":"BIT-percona-xtrabackup-2022-25834"},{"ecosystem":"Bitnami","fixed":["2.2.24","8.0.27-19"],"introduced":["0","3.0.0"],"last_affected":[],"package":"percona-xtrabackup-binary","purl":"pkg:bitnami/percona-xtrabackup-binary","source":"BIT-percona-xtrabackup-binary-2022-25834"}],"prev":{"headline":"Auth bypass in Samsung Mobile Devices","id":"CVE-2022-25833"},"products":["n/a"],"published":"2023-06-07","related":[{"cvss_score":6.5,"headline":"Information disclosure in n/a","id":"CVE-2022-26944","kev_date_added":null,"published":"2022-06-02"},{"cvss_score":6.5,"headline":"Information disclosure in n/a","id":"CVE-2020-10997","kev_date_added":null,"published":"2020-04-27"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-01-07","vendors":["n/a"]},"summary":"Attackers can execute arbitrary commands via crafted filenames in Percona XtraBackup, requiring local access to the file system.","url":"https://insights.sbomify.com/CVE-2022-25834/"}