{"answers":{"affected":"It affects 17 products.","exploited":"There is no known exploitation of CVE-2023-3331 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-3331 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-3331 is a medium-severity path traversal vulnerability in NEC Corporation Aterm WF300HP, published on 28 Jun 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-3331 and fix it if it is affected.\n\nWhat it is: CVE-2023-3331 is a medium-severity path traversal vulnerability in NEC Corporation Aterm WF300HP, published on 28 Jun 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-3331 in the wild and no public exploit code.\n\nAffected product: NEC Corporation Aterm WF300HP. 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-3331/ (Markdown: https://insights.sbomify.com/CVE-2023-3331/index.md)","id":"CVE-2023-3331","markdown":"https://insights.sbomify.com/CVE-2023-3331/index.md","name":"CVE-2023-3331","record":{"aliases":["GHSA-rwv8-j25h-rxjw"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"NEC Aterm router","requires_auth":"low_privilege","summary":"Attackers can delete specific files on NEC Aterm routers due to improper pathname limitation, requiring vendor patches.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"NEC","cpe":[{"product":"aterm_wf300hp_firmware","vendor":"nec"},{"product":"aterm_wg1400hp_firmware","vendor":"nec"},{"product":"aterm_wg1800hp2_firmware","vendor":"nec"},{"product":"aterm_wg1800hp_firmware","vendor":"nec"},{"product":"aterm_wg2200hp_firmware","vendor":"nec"},{"product":"aterm_wg2600hp2_firmware","vendor":"nec"},{"product":"aterm_wg2600hp_firmware","vendor":"nec"},{"product":"aterm_wg300hp_firmware","vendor":"nec"},{"product":"aterm_wg600hp_firmware","vendor":"nec"},{"product":"aterm_wr8170n_firmware","vendor":"nec"},{"product":"aterm_wr8175n_firmware","vendor":"nec"},{"product":"aterm_wr8370n_firmware","vendor":"nec"},{"product":"aterm_wr8600n_firmware","vendor":"nec"},{"product":"aterm_wr8700n_firmware","vendor":"nec"},{"product":"aterm_wr8750n_firmware","vendor":"nec"},{"product":"aterm_wr9300n_firmware","vendor":"nec"},{"product":"aterm_wr9500n_firmware","vendor":"nec"}],"cvss":{"score":5.4,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Improper Limitation of a Pathname to a Restricted Directory vulnerability in NEC Corporation Aterm Aterm WG2600HP2, WG2600HP, WG2200HP, WG1800HP2, WG1800HP, WG1400HP, WG600HP, WG300HP, WF300HP, WR9500N, WR9300N, WR8750N, WR8700N, WR8600N, WR8370N, WR8175N and WR8170N all versions allows a attacker to delete\n\n specific files in the product.","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":"Path traversal in Aterm WF300HP","id":"CVE-2023-3331","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Cross-site scripting in Aterm WF300HP","id":"CVE-2023-3332"},"packages":[],"prev":{"headline":"Path traversal in Aterm WF300HP","id":"CVE-2023-3330"},"products":["Aterm WF300HP","Aterm WG1400HP","Aterm WG1800HP","Aterm WG1800HP2","Aterm WG2200HP","Aterm WG2600HP","Aterm WG2600HP2","Aterm WG300HP","Aterm WG600HP","Aterm WR8170N","Aterm WR8175N","Aterm WR8370N","Aterm WR8600N","Aterm WR8700N","Aterm WR8750N","Aterm WR9300N","Aterm WR9500N"],"published":"2023-06-28","related":[{"cvss_score":7.2,"headline":"Command injection in Aterm WF300HP","id":"CVE-2023-3333","kev_date_added":null,"published":"2023-06-28"},{"cvss_score":4.8,"headline":"Cross-site scripting in Aterm WF300HP","id":"CVE-2023-3332","kev_date_added":null,"published":"2023-06-28"},{"cvss_score":4.3,"headline":"Path traversal in Aterm WF300HP","id":"CVE-2023-3330","kev_date_added":null,"published":"2023-06-28"}],"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":"partial"},"state":"PUBLISHED","updated":"2024-12-04","vendors":["NEC Corporation"]},"summary":"Attackers can delete specific files on NEC Aterm routers due to improper pathname limitation, requiring vendor patches.","url":"https://insights.sbomify.com/CVE-2023-3331/"}