{"answers":{"affected":"It affects 7 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31793 exists.","fix":"No fix has been published for CVE-2022-31793 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-31793 is a high-severity path traversal vulnerability in n/a, published on 4 Aug 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-31793 and fix it if it is affected.\n\nWhat it is: CVE-2022-31793 is a high-severity path traversal vulnerability in n/a, published on 4 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31793 exists.\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-31793/ (Markdown: https://insights.sbomify.com/CVE-2022-31793/index.md)","id":"CVE-2022-31793","markdown":"https://insights.sbomify.com/CVE-2022-31793/index.md","name":"CVE-2022-31793","record":{"aliases":["GHSA-c4c9-87fm-m8qc"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Arris gateway firmware","requires_auth":"none","summary":"Remote attackers can read arbitrary files on Arris gateways due to a path traversal flaw in the muhttpd server.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"bgw210_firmware","vendor":"arris"},{"product":"bgw320_firmware","vendor":"arris"},{"product":"nvg443_firmware","vendor":"arris"},{"product":"nvg510_firmware","vendor":"arris"},{"product":"nvg589_firmware","vendor":"arris"},{"product":"nvg599_firmware","vendor":"arris"},{"product":"muhttpd","vendor":"inglorion"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"do_request in request.c in muhttpd before 1.1.7 allows remote attackers to read arbitrary files by constructing a URL with a single character before a desired path on the filesystem. This occurs because the code skips over the first character when serving files. Arris NVG443, NVG599, NVG589, and NVG510 devices and Arris-derived BGW210 and BGW320 devices are affected.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-08-19","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":1,"refs":[{"date":"2022-08-19T01:42:08Z","kind":"github_poc","ref":"https://github.com/xpgdgit/CVE-2022-31793","stars":1,"title":null},{"date":null,"kind":"nuclei","ref":"network/cves/2022/CVE-2022-31793.yaml","stars":null,"title":"muhttpd \u003c=1.1.5 - Local Inclusion"}],"tier":"weaponised"},"has_fix":null,"headline":"Path traversal in n/a","id":"CVE-2022-31793","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2022"},"n_packages":0,"n_references":4,"next":{"headline":"Command injection in n/a","id":"CVE-2022-31794"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2022-31792"},"products":["n/a"],"published":"2022-08-04","related":[],"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":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Remote attackers can read arbitrary files on Arris gateways due to a path traversal flaw in the muhttpd server.","url":"https://insights.sbomify.com/CVE-2022-31793/"}