{"answers":{"affected":"It affects 10 products.","exploited":"There is no known exploitation of CVE-2022-37934 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-37934 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-37934 is a medium-severity path traversal vulnerability in Hewlett Packard Enterprise (HPE) HPE OfficeConnect 1820 and 1850 Switch Series, published on 3 Jan 2023. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-37934 and fix it if it is affected.\n\nWhat it is: CVE-2022-37934 is a medium-severity path traversal vulnerability in Hewlett Packard Enterprise (HPE) HPE OfficeConnect 1820 and 1850 Switch Series, published on 3 Jan 2023. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-37934 in the wild and no public exploit code.\n\nAffected product: Hewlett Packard Enterprise (HPE) HPE OfficeConnect 1820 and 1850 Switch Series. 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-37934/ (Markdown: https://insights.sbomify.com/CVE-2022-37934/index.md)","id":"CVE-2022-37934","markdown":"https://insights.sbomify.com/CVE-2022-37934/index.md","name":"CVE-2022-37934","record":{"aliases":["GHSA-r7j6-mcqq-8gff"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"HPE OfficeConnect switch","requires_auth":"high_privilege","summary":"Remote attackers can exploit a directory traversal flaw in HPE OfficeConnect switches to access unauthorized files.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hpe","cpe":[{"product":"officeconnect_1820_24g_poe\\+_\\(185w\\)_switch_j9983a_firmware","vendor":"hp"},{"product":"officeconnect_1820_48g_poe\\+_\\(370w\\)_switch_j9984a_firmware","vendor":"hp"},{"product":"officeconnect_1820_8g_poe\\+_\\(65w\\)_switch_j9982a_firmware","vendor":"hp"},{"product":"officeconnect_1820_8g_switch_j9979a_firmware","vendor":"hp"},{"product":"officeconnect_1850_24g_2xgt_firmware","vendor":"hpe"},{"product":"officeconnect_1850_24g_2xgt_poe\\+_firmware","vendor":"hpe"},{"product":"officeconnect_1850_2xgt\\/spf\\+_firmware","vendor":"hpe"},{"product":"officeconnect_1850_48g_4xgt_firmware","vendor":"hpe"},{"product":"officeconnect_1850_48g_4xgt_poe\\+_firmware","vendor":"hpe"},{"product":"officeconnect_1850_6xgt_firmware","vendor":"hpe"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A potential security vulnerability has been identified in HPE OfficeConnect 1820, and 1850 switch series. The vulnerability could be remotely exploited to allow remote directory traversal in HPE OfficeConnect 1820 switch series version PT.02.17 and below, HPE OfficeConnect 1850 switch series version PC.01.23 and below, and HPE OfficeConnect 1850 (10G aggregator) switch version PO.01.22 and below.","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 HPE OfficeConnect 1820 and 1850 Switch Series","id":"CVE-2022-37934","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Information disclosure in HPE OneView for VMware vCenter,","id":"CVE-2022-37935"},"packages":[],"prev":{"headline":"Other in HPE Superdome Flex Server; HPE Superdome Flex 280 Server","id":"CVE-2022-37933"},"products":["HPE OfficeConnect 1820 and 1850 Switch Series"],"published":"2023-01-03","related":[{"cvss_score":5.5,"headline":"Missing authorization in OfficeConnect Network Switches","id":"CVE-2017-5786","kev_date_added":null,"published":"2018-02-15"}],"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":"2025-04-10","vendors":["Hewlett Packard Enterprise (HPE)"]},"summary":"Remote attackers can exploit a directory traversal flaw in HPE OfficeConnect switches to access unauthorized files.","url":"https://insights.sbomify.com/CVE-2022-37934/"}