{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-24796 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-24796 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-24796 is a critical command injection vulnerability in jens-maus RaspberryMatic, published on 31 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-24796 and fix it if it is affected.\n\nWhat it is: CVE-2022-24796 is a critical command injection vulnerability in jens-maus RaspberryMatic, published on 31 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-24796 in the wild and no public exploit code.\n\nAffected product: jens-maus RaspberryMatic. 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-24796/ (Markdown: https://insights.sbomify.com/CVE-2022-24796/index.md)","id":"CVE-2022-24796","markdown":"https://insights.sbomify.com/CVE-2022-24796/index.md","name":"CVE-2022-24796","record":{"aliases":["GHSA-g7vv-7rmf-mff7"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Smart home OS","requires_auth":"none","summary":"Remote unauthenticated attackers can execute arbitrary OS commands as root via shell metacharacters in the WebUI file upload mechanism.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"raspberrymatic","vendor":"raspberrymatic"}],"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-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"RaspberryMatic is a free and open-source operating system for running a cloud-free smart-home using the homematicIP / HomeMatic hardware line of IoT devices. A Remote Code Execution (RCE) vulnerability in the file upload facility of the WebUI interface of RaspberryMatic exists. Missing input validation/sanitization in the file upload mechanism allows remote, unauthenticated attackers with network access to the WebUI interface to achieve arbitrary operating system command execution via shell metacharacters in the HTTP query string. Injected commands are executed as root, thus leading to a full compromise of the underlying system and all its components. Versions after `2.31.25.20180428` and prior to `3.63.8.20220330` are affected. Users are advised to update to version `3.63.8.20220330` or newer. There are currently no known workarounds to mitigate the security impact and users are advised to update to the latest version available.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Remote Command Injection in RaspberryMatic","id":"CVE-2022-24796","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Exposure of Sensitive Information in Pomerium","id":"CVE-2022-24797"},"packages":[],"prev":{"headline":"Buffer Overflow and Integer Overflow in yajl-ruby","id":"CVE-2022-24795"},"products":["RaspberryMatic"],"published":"2022-03-31","related":[{"cvss_score":10,"headline":"RaspberryMatic Unauthenticated Remote Code Execution vulnerability through HMServer File Upload","id":"CVE-2024-24578","kev_date_added":null,"published":"2024-03-18"}],"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)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["jens-maus"]},"summary":"Remote unauthenticated attackers can execute arbitrary OS commands as root via shell metacharacters in the WebUI file upload mechanism.","url":"https://insights.sbomify.com/CVE-2022-24796/"}