{"answers":{"affected":"It affects 14 products.","exploited":"There is no known exploitation of CVE-2022-31486 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-31486 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-31486 is a high-severity command injection vulnerability in HID Mercury EP4502, published on 6 Jun 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-31486 and fix it if it is affected.\n\nWhat it is: CVE-2022-31486 is a high-severity command injection vulnerability in HID Mercury EP4502, published on 6 Jun 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-31486 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-31486/ (Markdown: https://insights.sbomify.com/CVE-2022-31486/index.md)","id":"CVE-2022-31486","markdown":"https://insights.sbomify.com/CVE-2022-31486/index.md","name":"CVE-2022-31486","record":{"aliases":["GHSA-75hq-cqh2-xf56"],"analysis":{"component_type":"iot_embedded","fix_type":"upgrade","impacts":["code_execution","data_read","data_modify","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"HID Mercury controller","requires_auth":"low_privilege","summary":"Authenticated attackers can execute arbitrary shell commands via the route add functionality in HID Mercury Intelligent Controllers.","user_interaction":"not_required","vuln_class":"command_injection"},"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":8.8,"severity":"high","source":"cna","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-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"An authenticated attacker can send a specially crafted route to the “edit_route.cgi” binary and have it execute shell commands. This vulnerability impacts products based on HID Mercury Intelligent Controllers LP1501, LP1502, LP2500, LP4502, and EP4502 which contain firmware versions prior to 1.303 for the LP series and 1.297 for the EP series. An attacker with this level of access on the device can monitor all communications sent to and from this device, modify onboard relays, change configuration files, or cause the device to become unstable.","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 via Advanced Networking route add functionality","id":"CVE-2022-31486","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"SQL injection in n/a","id":"CVE-2022-31487"},"packages":[],"prev":{"headline":"Unauthenticated homepage note modification","id":"CVE-2022-31485"},"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":9.1,"headline":"Arbitrary file write via authenticated OSDP file upload","id":"CVE-2022-31483","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 execute arbitrary shell commands via the route add functionality in HID Mercury Intelligent Controllers.","url":"https://insights.sbomify.com/CVE-2022-31486/"}