{"answers":{"affected":"It affects 14 products.","exploited":"There is no known exploitation of CVE-2022-31483 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-31483 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-31483 is a critical path traversal vulnerability in HID Mercury EP4502, published on 6 Jun 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-31483 and fix it if it is affected.\n\nWhat it is: CVE-2022-31483 is a critical path traversal vulnerability in HID Mercury EP4502, published on 6 Jun 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-31483 in the wild and no public exploit code.\n\nAffected product: HID Mercury EP4502. 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-31483/ (Markdown: https://insights.sbomify.com/CVE-2022-31483/index.md)","id":"CVE-2022-31483","markdown":"https://insights.sbomify.com/CVE-2022-31483/index.md","name":"CVE-2022-31483","record":{"aliases":["GHSA-6jwc-5xg2-843h"],"analysis":{"component_type":"ics_ot","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"HID Mercury controller","requires_auth":"high_privilege","summary":"Authenticated attackers can exploit path traversal in file uploads to overwrite system files and gain root access on HID Mercury controllers.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Carrier","cpe":[{"product":"lenels2_lnl-4420_firmware","vendor":"carrier"},{"product":"lenels2_lnl-x2210_firmware","vendor":"carrier"},{"product":"lenels2_lnl-x2220_firmware","vendor":"carrier"},{"product":"lenels2_lnl-x3300_firmware","vendor":"carrier"},{"product":"lenels2_lnl-x4420_firmware","vendor":"carrier"},{"product":"lenels2_s2-lp-1501_firmware","vendor":"carrier"},{"product":"lenels2_s2-lp-1502_firmware","vendor":"carrier"},{"product":"lenels2_s2-lp-2500_firmware","vendor":"carrier"},{"product":"lenels2_s2-lp-4502_firmware","vendor":"carrier"},{"product":"ep4502_firmware","vendor":"hidglobal"},{"product":"lp1501_firmware","vendor":"hidglobal"},{"product":"lp1502_firmware","vendor":"hidglobal"},{"product":"lp2500_firmware","vendor":"hidglobal"},{"product":"lp4502_firmware","vendor":"hidglobal"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"An authenticated attacker can upload a file with a filename including “..” and “/” to achieve the ability to upload the desired file anywhere on the filesystem. This vulnerability impacts products based on HID Mercury Intelligent Controllers LP1501, LP1502, LP2500, LP4502, and EP4502 which contain firmware versions prior to 1.271. This allows a malicious actor to overwrite sensitive system files and install a startup service to gain remote access to the underlaying Linux operating system with root privileges.","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":"Arbitrary file write via authenticated OSDP file upload","id":"CVE-2022-31483","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":"User Account Deletion Unauthenticated","id":"CVE-2022-31484"},"packages":[],"prev":{"headline":"Denial-of-Service via internal structure overflow","id":"CVE-2022-31482"},"products":["EP4502","LNL-4420","LNL-X2210","LNL-X2220","LNL-X3300","LNL-X4420","LP1501","LP1502","LP2500","LP4502","S2-LP-1501","S2-LP-1502","S2-LP-2500","S2-LP-4502"],"published":"2022-06-06","related":[{"cvss_score":10,"headline":"Remote Code Execution via buffer overflow in firmware update process","id":"CVE-2022-31481","kev_date_added":null,"published":"2022-06-06"},{"cvss_score":9.6,"headline":"Remote Code Execution via command injection of the hostname","id":"CVE-2022-31479","kev_date_added":null,"published":"2022-06-06"},{"cvss_score":8.8,"headline":"Command injection via Advanced Networking route add functionality","id":"CVE-2022-31486","kev_date_added":null,"published":"2022-06-06"},{"cvss_score":7.5,"headline":"Unauthenticated Firmware Upload and Arbitrary Reboot","id":"CVE-2022-31480","kev_date_added":null,"published":"2022-06-06"},{"cvss_score":7.5,"headline":"Denial-of-Service via internal structure overflow","id":"CVE-2022-31482","kev_date_added":null,"published":"2022-06-06"},{"cvss_score":7.5,"headline":"User Account Deletion Unauthenticated","id":"CVE-2022-31484","kev_date_added":null,"published":"2022-06-06"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["HID Mercury","LenelS2"]},"summary":"Authenticated attackers can exploit path traversal in file uploads to overwrite system files and gain root access on HID Mercury controllers.","url":"https://insights.sbomify.com/CVE-2022-31483/"}