{"answers":{"affected":"It affects 118 products.","exploited":"There is no known exploitation of CVE-2023-31996 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-31996 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-31996 is a high-severity command injection vulnerability in n/a, published on 23 May 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-31996 and fix it if it is affected.\n\nWhat it is: CVE-2023-31996 is a high-severity command injection vulnerability in n/a, published on 23 May 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-31996 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-2023-31996/ (Markdown: https://insights.sbomify.com/CVE-2023-31996/index.md)","id":"CVE-2023-31996","markdown":"https://insights.sbomify.com/CVE-2023-31996/index.md","name":"CVE-2023-31996","record":{"aliases":["GHSA-5xjw-8r97-6fj2"],"analysis":{"component_type":"iot_embedded","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Hanwha IP Camera","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary commands on Hanwha IP cameras via the NAS storage test function due to improper input sanitization.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ane-l6012r_firmware","vendor":"hanwhavision"},{"product":"ane-l7012r_firmware","vendor":"hanwhavision"},{"product":"ano-l6012r_firmware","vendor":"hanwhavision"},{"product":"ano-l6022r_firmware","vendor":"hanwhavision"},{"product":"ano-l6082r_firmware","vendor":"hanwhavision"},{"product":"ano-l7012r_firmware","vendor":"hanwhavision"},{"product":"ano-l7022r_firmware","vendor":"hanwhavision"},{"product":"ano-l7082r_firmware","vendor":"hanwhavision"},{"product":"anv-l6012r_firmware","vendor":"hanwhavision"},{"product":"anv-l6023r_firmware","vendor":"hanwhavision"},{"product":"anv-l6082r_firmware","vendor":"hanwhavision"},{"product":"anv-l7012r_firmware","vendor":"hanwhavision"},{"product":"anv-l7082r_firmware","vendor":"hanwhavision"},{"product":"pnm-12082rvd_firmware","vendor":"hanwhavision"},{"product":"pnm-7002vd_firmware","vendor":"hanwhavision"},{"product":"pnm-7082rvd_firmware","vendor":"hanwhavision"},{"product":"pnm-8082vt_firmware","vendor":"hanwhavision"},{"product":"pnm-9000qb_firmware","vendor":"hanwhavision"},{"product":"pnm-9000vd_firmware","vendor":"hanwhavision"},{"product":"pnm-9002vq_firmware","vendor":"hanwhavision"},{"product":"pnm-9022v_firmware","vendor":"hanwhavision"},{"product":"pnm-9031rv_firmware","vendor":"hanwhavision"},{"product":"pnm-9084qz1_firmware","vendor":"hanwhavision"},{"product":"pnm-9084rqz1_firmware","vendor":"hanwhavision"},{"product":"pnm-9084rqz_firmware","vendor":"hanwhavision"},{"product":"pnm-9085rqz1_firmware","vendor":"hanwhavision"},{"product":"pnm-9085rqz_firmware","vendor":"hanwhavision"},{"product":"pnm-9322vqp_firmware","vendor":"hanwhavision"},{"product":"pnm-c12083rvd_firmware","vendor":"hanwhavision"},{"product":"pnm-c7083rvd_firmware","vendor":"hanwhavision"},{"product":"pnm-c9022rv_firmware","vendor":"hanwhavision"},{"product":"qnd-6010r_firmware","vendor":"hanwhavision"},{"product":"qnd-6011_firmware","vendor":"hanwhavision"},{"product":"qnd-6012r1_firmware","vendor":"hanwhavision"},{"product":"qnd-6012r_firmware","vendor":"hanwhavision"},{"product":"qnd-6020r_firmware","vendor":"hanwhavision"},{"product":"qnd-6021_firmware","vendor":"hanwhavision"},{"product":"qnd-6022r_firmware","vendor":"hanwhavision"},{"product":"qnd-6030r_firmware","vendor":"hanwhavision"},{"product":"qnd-6032r_firmware","vendor":"hanwhavision"},{"product":"qnd-6070r_firmware","vendor":"hanwhavision"},{"product":"qnd-6082r1_firmware","vendor":"hanwhavision"},{"product":"qnd-6082r_firmware","vendor":"hanwhavision"},{"product":"qnd-7010r_firmware","vendor":"hanwhavision"},{"product":"qnd-70142r_firmware","vendor":"hanwhavision"},{"product":"qnd-7020r_firmware","vendor":"hanwhavision"},{"product":"qnd-7022r_firmware","vendor":"hanwhavision"},{"product":"qnd-7030r_firmware","vendor":"hanwhavision"},{"product":"qnd-7032r_firmware","vendor":"hanwhavision"},{"product":"qnd-7080r_firmware","vendor":"hanwhavision"},{"product":"qnd-7082r_firmware","vendor":"hanwhavision"},{"product":"qnd-8010r_firmware","vendor":"hanwhavision"},{"product":"qnd-8011_firmware","vendor":"hanwhavision"},{"product":"qnd-8020r_firmware","vendor":"hanwhavision"},{"product":"qnd-8021_firmware","vendor":"hanwhavision"},{"product":"qnd-8030r_firmware","vendor":"hanwhavision"},{"product":"qnd-8080r_firmware","vendor":"hanwhavision"},{"product":"qne-7080rvw_firmware","vendor":"hanwhavision"},{"product":"qne-7088rv_firmware","vendor":"hanwhavision"},{"product":"qne-8011r_firmware","vendor":"hanwhavision"},{"product":"qne-8021r_firmware","vendor":"hanwhavision"},{"product":"qnf-8010_firmware","vendor":"hanwhavision"},{"product":"qnf-9010_firmware","vendor":"hanwhavision"},{"product":"qno-6010r_firmware","vendor":"hanwhavision"},{"product":"qno-6012r1_firmware","vendor":"hanwhavision"},{"product":"qno-6012r_firmware","vendor":"hanwhavision"},{"product":"qno-6020r_firmware","vendor":"hanwhavision"},{"product":"qno-6022r1_firmware","vendor":"hanwhavision"},{"product":"qno-6022r_firmware","vendor":"hanwhavision"},{"product":"qno-6030r_firmware","vendor":"hanwhavision"},{"product":"qno-6032r_firmware","vendor":"hanwhavision"},{"product":"qno-6070r_firmware","vendor":"hanwhavision"},{"product":"qno-6082r1_firmware","vendor":"hanwhavision"},{"product":"qno-6082r_firmware","vendor":"hanwhavision"},{"product":"qno-7012r_firmware","vendor":"hanwhavision"},{"product":"qno-7020r_firmware","vendor":"hanwhavision"},{"product":"qno-7022r_firmware","vendor":"hanwhavision"},{"product":"qno-7030r_firmware","vendor":"hanwhavision"},{"product":"qno-7032r_firmware","vendor":"hanwhavision"},{"product":"qno-7080r_firmware","vendor":"hanwhavision"},{"product":"qno-7082r_firmware","vendor":"hanwhavision"},{"product":"qno-8010r_firmware","vendor":"hanwhavision"},{"product":"qno-8020r_firmware","vendor":"hanwhavision"},{"product":"qno-8030r_firmware","vendor":"hanwhavision"},{"product":"qno-8080r_firmware","vendor":"hanwhavision"},{"product":"qnp-6230_firmware","vendor":"hanwhavision"},{"product":"qnp-6230h_firmware","vendor":"hanwhavision"},{"product":"qnp-6230rh_firmware","vendor":"hanwhavision"},{"product":"qnp-6250_firmware","vendor":"hanwhavision"},{"product":"qnp-6250h_firmware","vendor":"hanwhavision"},{"product":"qnp-6250r_firmware","vendor":"hanwhavision"},{"product":"qnp-6320_firmware","vendor":"hanwhavision"},{"product":"qnp-6320h_firmware","vendor":"hanwhavision"},{"product":"qnp-6320hs_firmware","vendor":"hanwhavision"},{"product":"qnp-6320r_firmware","vendor":"hanwhavision"},{"product":"qnv-6010r_firmware","vendor":"hanwhavision"},{"product":"qnv-6012r1_firmware","vendor":"hanwhavision"},{"product":"qnv-6012r_firmware","vendor":"hanwhavision"},{"product":"qnv-6020r_firmware","vendor":"hanwhavision"},{"product":"qnv-6022r1_firmware","vendor":"hanwhavision"},{"product":"qnv-6022r_firmware","vendor":"hanwhavision"},{"product":"qnv-6030r_firmware","vendor":"hanwhavision"},{"product":"qnv-6032r_firmware","vendor":"hanwhavision"},{"product":"qnv-6070r_firmware","vendor":"hanwhavision"},{"product":"qnv-6082r1_firmware","vendor":"hanwhavision"},{"product":"qnv-6082r_firmware","vendor":"hanwhavision"},{"product":"qnv-7010r_firmware","vendor":"hanwhavision"},{"product":"qnv-7012r_firmware","vendor":"hanwhavision"},{"product":"qnv-7020r_firmware","vendor":"hanwhavision"},{"product":"qnv-7022r_firmware","vendor":"hanwhavision"},{"product":"qnv-7030r_firmware","vendor":"hanwhavision"},{"product":"qnv-7032r_firmware","vendor":"hanwhavision"},{"product":"qnv-7080r_firmware","vendor":"hanwhavision"},{"product":"qnv-7082r_firmware","vendor":"hanwhavision"},{"product":"qnv-8010r_firmware","vendor":"hanwhavision"},{"product":"qnv-8020r_firmware","vendor":"hanwhavision"},{"product":"qnv-8030r_firmware","vendor":"hanwhavision"},{"product":"qnv-8080r_firmware","vendor":"hanwhavision"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/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":"Hanwha IP Camera ANE-L7012R 1.41.01 is vulnerable to Command Injection due to improper sanitization of special characters for the NAS storage test function.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Command injection in n/a","id":"CVE-2023-31996","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"UniFi OS 3.1 introduces a misconfiguration on consoles running UniFi Network that allows users on a local network to access MongoDB.","id":"CVE-2023-31997"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2023-31995"},"products":["n/a"],"published":"2023-05-23","related":[{"cvss_score":8.7,"headline":"Unauthenticated DoS","id":"CVE-2023-5038","kev_date_added":null,"published":"2024-06-25"},{"cvss_score":7.1,"headline":"Authenticated Command Injection","id":"CVE-2023-5037","kev_date_added":null,"published":"2023-11-13"},{"cvss_score":5.4,"headline":"Cross-site scripting in n/a","id":"CVE-2023-31995","kev_date_added":null,"published":"2023-05-23"},{"cvss_score":5.3,"headline":"Denial of service in n/a","id":"CVE-2023-31994","kev_date_added":null,"published":"2023-05-23"}],"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-01-17","vendors":["n/a"]},"summary":"Attackers can execute arbitrary commands on Hanwha IP cameras via the NAS storage test function due to improper input sanitization.","url":"https://insights.sbomify.com/CVE-2023-31996/"}