CVE-2025-45851
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAn issue in Hikvision DS-2CD1321-I V5.7.21 build 230819 allows attackers to cause a Denial of Service (DoS) via sending a crafted POST request to the endpoint /ISAPI/Security/challenge. The vendor has stated that upgrading to V5.7.23_SP2 fixes the issue.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceHikvision DS-2CD1321-I IP camera version V5.7.21 contains a denial-of-service vulnerability where a crafted POST request to the /ISAPI/Security/challenge endpoint causes the device to become unresponsive or crash.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Confirm device model is DS-2CD1321-IAccess the camera web interface or use the ISAPI /ISAPI/System/deviceInfo endpoint to retrieve the device model and serial number. Verify the model field shows DS-2CD1321-I.Affected if The device model is not DS-2CD1321-I, then this specific CVE does not apply.
-
Check firmware version V5.7.21In the camera web interface, go to Maintenance > Upgrade, or query /ISAPI/System/firmwareInformation to retrieve the firmware version. Look for version V5.7.21 specifically.Affected if The firmware version is V5.7.21, the device is vulnerable to the DoS condition.
-
Verify ISAPI endpoint accessibilityAttempt to reach http://[camera_ip]/ISAPI/Security/challenge via a GET request from your detection host. A 401 or 200 response indicates the endpoint is network-accessible.Affected if The /ISAPI/Security/challenge endpoint responds to requests, meaning it is exposed on the network and the DoS attack surface exists.
-
Test POST request behavior (optional confirmation)Send a crafted POST request to /ISAPI/Security/challenge with malformed data. Observe if the device becomes unresponsive or stops responding to subsequent requests.Affected if The device crashes or becomes unresponsive after the crafted POST, confirming active exploitation or vulnerability trigger.
A Hikvision DS-2CD1321-I camera running firmware version V5.7.21 with accessible ISAPI endpoints is affected by this CVE and can be crashed via crafted POST requests to /ISAPI/Security/challenge.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade the device firmware to version V5.7.23_SP2 as specified by the vendor. Restrict network access to the ISAPI endpoints using firewall rules or VLAN segmentation to limit exposure until the upgrade can be performed.
V5.7.23_SP2
- 1. Obtain the V5.7.23_SP2 firmware from the official Hikvision support website or your authorized distributor
- 2. Access the Hikvision DS-2CD1321-I device web interface
- 3. Navigate to Configuration > System > Maintenance > Firmware Upgrade (or similar path)
- 4. Upload the V5.7.23_SP2 firmware file
- 5. Wait for the upgrade process to complete - do not power off the device
- 6. After reboot, verify the firmware version shows V5.7.23_SP2 in the system information
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing1.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,744.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-45851 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-45851 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data