{"answers":{"affected":"It affects 58 products.","exploited":"Yes. Attackers have exploited CVE-2017-7921 in the wild since at least 5 Mar 2026.","fix":"No fix has been published for CVE-2017-7921 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 26 Mar 2026.","what":"CVE-2017-7921 is a critical authentication bypass vulnerability in Hikvision Cameras, published on 6 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-7921 and fix it if it is affected.\n\nWhat it is: CVE-2017-7921 is a critical authentication bypass vulnerability in Hikvision Cameras, published on 6 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2017-7921 in the wild since at least 5 Mar 2026.\n\nAffected product: Hikvision Cameras. 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-2017-7921/ (Markdown: https://insights.sbomify.com/CVE-2017-7921/index.md)","id":"CVE-2017-7921","markdown":"https://insights.sbomify.com/CVE-2017-7921/index.md","name":"CVE-2017-7921","record":{"aliases":["GHSA-82r9-7ww3-jr86"],"analysis":{"component_type":"iot_embedded","fix_type":"upgrade","impacts":["privilege_escalation","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Hikvision IP Camera","requires_auth":"none","summary":"Improper authentication in Hikvision cameras allows attackers to escalate privileges and access sensitive information.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"icscert","cpe":[{"product":"ds-2cd2032-i_firmware","vendor":"hikvision"},{"product":"ds-2cd2112-i_firmware","vendor":"hikvision"},{"product":"ds-2cd2132-i_firmware","vendor":"hikvision"},{"product":"ds-2cd2212-i5_firmware","vendor":"hikvision"},{"product":"ds-2cd2232-i5_firmware","vendor":"hikvision"},{"product":"ds-2cd2312-i_firmware","vendor":"hikvision"},{"product":"ds-2cd2332-i_firmware","vendor":"hikvision"},{"product":"ds-2cd2412f-i\\(w\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd2432f-i\\(w\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd2512f-i\\(s\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd2532f-i\\(s\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd2612f-i\\(s\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd2632f-i\\(s\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd2712f-i\\(s\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd2732f-i\\(s\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd2t32-i3_firmware","vendor":"hikvision"},{"product":"ds-2cd2t32-i5_firmware","vendor":"hikvision"},{"product":"ds-2cd2t32-i8_firmware","vendor":"hikvision"},{"product":"ds-2cd4012f-\\(a\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4012f-\\(p\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4012f-\\(w\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4012fwd-\\(a\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4012fwd-\\(p\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4012fwd-\\(w\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4024f-\\(a\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4024f-\\(p\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4024f-\\(w\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4032fwd-\\(a\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4032fwd-\\(p\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4032fwd-\\(w\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4112f-i\\(z\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4112fwd-i\\(z\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4124f-i\\(z\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4132fwd-i\\(z\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4212f-i\\(h\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4212f-i\\(s\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4212f-i\\(z\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4212fwd-i\\(h\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4212fwd-i\\(s\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4212fwd-i\\(z\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4224f-i\\(h\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4224f-i\\(s\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4224f-i\\(z\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4232fwd-i\\(h\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4232fwd-i\\(s\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4232fwd-i\\(z\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4312f-i\\(h\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4312f-i\\(s\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4312f-i\\(z\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4324f-i\\(h\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4324f-i\\(s\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4324f-i\\(z\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4332fwd-i\\(h\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4332fwd-i\\(s\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd4332fwd-i\\(z\\)_firmware","vendor":"hikvision"},{"product":"ds-2cd63xx_series_firmware","vendor":"hikvision"},{"product":"ds-2cd6412fwd_firmware","vendor":"hikvision"},{"product":"ds-2dfx_series_firmware","vendor":"hikvision"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"An Improper Authentication issue was discovered in Hikvision DS-2CD2xx2F-I Series V5.2.0 build 140721 to V5.4.0 build 160530, DS-2CD2xx0F-I Series V5.2.0 build 140721 to V5.4.0 Build 160401, DS-2CD2xx2FWD Series V5.3.1 build 150410 to V5.4.4 Build 161125, DS-2CD4x2xFWD Series V5.2.0 build 140721 to V5.4.0 Build 160414, DS-2CD4xx5 Series V5.2.0 build 140721 to V5.4.0 Build 160421, DS-2DFx Series V5.2.0 build 140805 to V5.4.5 Build 160928, and DS-2CD63xx Series V5.0.9 build 140305 to V5.3.5 Build 160106 devices. The improper authentication vulnerability occurs when an application does not adequately or correctly authenticate users. This may allow a malicious user to escalate his or her privileges on the system and gain access to sensitive information.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2017-09-23","github_poc":25,"max_poc_stars":116,"metasploit":2,"nuclei":1,"refs":[{"date":"2021-01-29T16:08:35Z","kind":"github_poc","ref":"https://github.com/chrisjd20/hikvision_CVE-2017-7921_auth_bypass_config_decryptor","stars":116,"title":"This python file will decrypt the configurationFile used by hikvision cameras vulnerable to CVE-2017-7921."},{"date":"2020-04-27T11:49:40Z","kind":"github_poc","ref":"https://github.com/JrDw0/CVE-2017-7921-EXP","stars":103,"title":"Hikvision camera CVE-2017-7921-EXP"},{"date":"2020-11-12T09:02:10Z","kind":"github_poc","ref":"https://github.com/BurnyMcDull/CVE-2017-7921","stars":35,"title":"海康威视未授权访问检测poc及口令爆破"},{"date":"2025-11-19T00:31:34Z","kind":"github_poc","ref":"https://github.com/voidsshadows/Hikvision-City-Hunter","stars":19,"title":"This tool is a modern evolution of older PoCs like those for CVE-2017-7921 and ICSA-17-124-01, updated for 2025 with live console output, threading for speed, and honeypot filtering (skips devices with \u003e12 open ports). It's built for red teamers, bug bounty hunters, and security researchers to identify"},{"date":"2020-11-13T04:15:31Z","kind":"github_poc","ref":"https://github.com/MisakaMikato/cve-2017-7921-golang","stars":13,"title":"Hikvision IP camera access bypass exploit, developed by golang. "},{"date":"2026-09-11T15:06:53Z","kind":"github_poc","ref":"https://github.com/Th3Purge/CVE-2017-7921-Exploit","stars":9,"title":"Exploit for CVE-2017-7921, targeting the improper authentication vulnerability affecting Hikvision camera systems."},{"date":"2024-07-02T11:47:35Z","kind":"github_poc","ref":"https://github.com/kooroshsanaei/HikVision-CVE-2017-7921","stars":7,"title":" Test For CVE-2017–7921; "},{"date":"2022-07-20T07:07:07Z","kind":"github_poc","ref":"https://github.com/alkaid176/CVE-2017-7921","stars":6,"title":"CVE-2017-7921-EXP Hikvision camera"}],"tier":"exploited"},"has_fix":null,"headline":"Hikvision Multiple Products Improper Authentication","id":"CVE-2017-7921","indexable":true,"kev":{"dateAdded":"2026-03-05","dueDate":"2026-03-26","knownRansomwareCampaignUse":"Unknown","product":"Multiple Products","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","vendorProject":"Hikvision","vulnerabilityName":"Hikvision Multiple Products Improper Authentication Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2017"},"n_packages":0,"n_references":4,"next":{"headline":"Privilege escalation in Cambium Networks ePMP","id":"CVE-2017-7922"},"packages":[],"prev":{"headline":"Missing authorization in ABB VSN300 WiFi Logger Card","id":"CVE-2017-7920"},"products":["Hikvision Cameras"],"published":"2017-05-06","related":[{"cvss_score":8.8,"headline":"Hardcoded credentials in Hikvision Cameras","id":"CVE-2017-7923","kev_date_added":null,"published":"2017-05-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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-06","vendors":["n/a"]},"summary":"Improper authentication in Hikvision cameras allows attackers to escalate privileges and access sensitive information.","url":"https://insights.sbomify.com/CVE-2017-7921/"}