Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-617 (可达断言) — Vulnerability Class 233

233 vulnerabilities classified as CWE-617 (可达断言). AI Chinese analysis included.

CWE-617 represents a software weakness where an assertion statement, intended for debugging or internal logic validation, remains enabled in production code and can be triggered by external input. This flaw typically leads to a denial of service, as the application abruptly terminates or crashes when the assertion fails, rather than handling the error gracefully. Attackers exploit this by crafting specific inputs that violate the assumed invariants, forcing the program to exit unexpectedly. To mitigate this risk, developers must ensure that assertions are strictly disabled in production environments or replace them with robust error-handling mechanisms. By validating inputs and managing exceptions without relying on fatal assertions, teams can maintain application availability and prevent attackers from leveraging these logic checks for disruptive service interruptions.

MITRE CWE Description
The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary. While assertion is good for catching logic errors and reducing the chances of reaching more serious vulnerability conditions, it can still lead to a denial of service. For example, if a server handles multiple simultaneous connections, and an assert() occurs in one single connection that causes all other connections to be dropped, this is a reachable assertion that leads to a denial of service.
Common Consequences (1)
AvailabilityDoS: Crash, Exit, or Restart
An attacker that can trigger an assert statement can still lead to a denial of service if the relevant code can be triggered by an attacker, and if the scope of the assert() extends beyond the attacker's own session.
Mitigations (2)
ImplementationMake sensitive open/close operation non reachable by directly user-controlled data (e.g. open/close resources)
ImplementationPerform input validation on user data.
Examples (1)
In the excerpt below, an AssertionError (an unchecked exception) is thrown if the user hasn't entered an email address in an HTML form.
String email = request.getParameter("email_address"); assert email != null;
Bad · Java
CVE IDTitleCVSSSeverityPublished
CVE-2021-29562 CHECK-fail in `tf.raw_ops.IRFFT` — tensorflow 2.5 Low2021-05-14
CVE-2021-29563 CHECK-fail in `tf.raw_ops.RFFT` — tensorflow 2.5 Low2021-05-14
CVE-2021-29567 Lack of validation in `SparseDenseCwiseMul` — tensorflow 2.5 Low2021-05-14
CVE-2021-29543 CHECK-fail in `CTCGreedyDecoder` — tensorflow 2.5 Low2021-05-14
CVE-2021-29552 CHECK-failure in `UnsortedSegmentJoin` — tensorflow 2.5 Low2021-05-14
CVE-2021-3502 avahi 安全漏洞 — avahi 5.5 -2021-05-07
CVE-2021-20217 Privoxy 安全漏洞 — privoxy 7.5 -2021-03-25
CVE-2019-14851 Libguestfs Nbdkit 安全漏洞 — nbdkit 6.5 -2021-03-18
CVE-2021-24029 Facebook Proxygen 安全漏洞 — mvfst 7.5 -2021-03-15
CVE-2021-20286 libnbd 安全漏洞 — libnbd 6.5 -2021-03-15
CVE-2021-20272 Privoxy 安全漏洞 — privoxy 7.5 -2021-03-09
CVE-2020-25723 QEMU 代码问题漏洞 — QEMU 3.2 -2020-12-02
CVE-2020-15194 Denial of Service in Tensorflow — tensorflow 5.3 Medium2020-09-25
CVE-2020-15197 Denial of Service in Tensorflow — tensorflow 6.3 Medium2020-09-25
CVE-2020-6097 atftp 安全漏洞 — atftpd 7.5 -2020-09-10
CVE-2020-10761 QEMU 安全漏洞 — QEMU: 5.0 Medium2020-06-09
CVE-2019-5020 YARA 输入验证错误漏洞 — Yara Object 5.5 -2019-07-31
CVE-2019-0003 Junos OS: A flowspec BGP update with a specific term-order causes routing protocol daemon (rpd) process to crash with a core. — Junos OS 5.9 -2019-01-15
CVE-2018-12543 Eclipse Mosquitto 安全漏洞 — Eclipse Mosquitto 7.5 -2018-11-15
CVE-2017-7539 QEMU 输入验证错误漏洞 — Qemu 7.5 -2018-07-26
CVE-2017-12168 Linux kernel 输入验证错误漏洞 — Linux kernel before 4.9 6.0 -2017-09-20
CVE-2017-7478 OpenVPN 安全漏洞 — openvpn 7.5 -2017-05-15
CVE-2017-7479 OpenVPN 安全漏洞 — openvpn 6.5 -2017-05-15

Vulnerabilities classified as CWE-617 (可达断言) represent 233 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.