CWE-670: Always-Incorrect Control Flow Implementation, published in 2021
Filter
The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated.
What the weakness is: CWE-670 at MITRE. All weaknesses
Ask an AI about CWE-670
Show the prompt
Explain CWE-670: Always-Incorrect Control Flow Implementation and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/670.html and https://cve.bz/cve/cwe/670?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 6.5CVE-2021-38019EPSS 0.9%
Insufficient policy enforcement in CORS in Google Chrome prior to 96.0.4664.45 allowed a remote attacker to leak cross-origin data via a crafted HTML page.
- 7.5CVE-2021-43839cryptoEPSS 1.4%
Cronos is a commercial implementation of a blockchain. In Cronos nodes running versions before v0.6.5, it is possible to take transaction fees from Cosmos SDK's FeeCollector for the current block by sending a custom crafted MsgEthereumTx. …
- 5.3CVE-2021-43979openpolicyagent gatekeeperEPSS 1.1%
Styra Open Policy Agent (OPA) Gatekeeper through 3.7.0 mishandles concurrency, sometimes resulting in incorrect access control. The data replication mechanism allows policies to access the Kubernetes cluster state. During data replication,…
- 9.8CVE-2021-41153evm project evmEPSS 1.0%
The evm crate is a pure Rust implementation of Ethereum Virtual Machine. In `evm` crate `< 0.31.0`, `JUMPI` opcode's condition is checked after the destination validity check. However, according to Geth and OpenEthereum, the condition chec…
- 7.4CVE-2021-34767cisco ios xeEPSS 0.8%
A vulnerability in IPv6 traffic processing of Cisco IOS XE Wireless Controller Software for Cisco Catalyst 9000 Family Wireless Controllers could allow an unauthenticated, adjacent attacker to cause a Layer 2 (L2) loop in a configured VLAN…
- 7.5CVE-2021-37605microchip miwiEPSS 1.3%
In version 6.5 Microchip MiWi software and all previous versions including legacy products, the stack is validating only two out of four Message Integrity Check (MIC) bytes.
- 7.5CVE-2021-37604microchip miwiEPSS 1.2%
In version 6.5 of Microchip MiWi software and all previous versions including legacy products, there is a possibility of frame counters being validated/updated prior to the message authentication. With this vulnerability in place, an attac…
- 7.5CVE-2021-0517google androidEPSS 0.8%
In updateCapabilities of ConnectivityService.java, there is a possible incorrect network state determination due to a logic error in the code. This could lead to biasing of networking tasks to occur on non-VPN networks, which could lead to…
- 5.5CVE-2021-32684scandipwa magento-scriptsEPSS 0.7%
magento-scripts contains scripts and configuration used by Create Magento App, a zero-configuration tool-chain which allows one to deploy Magento 2. In versions 1.5.1 and 1.5.2, after changing the function from synchronous to asynchronous …
- 5.3CVE-2021-0273juniperEPSS 1.0%
An always-incorrect control flow implementation in the implicit filter terms of Juniper Networks Junos OS and Junos OS Evolved on ACX5800, EX9200 Series, MX10000 Series, MX240, MX480, MX960 devices with affected Trio line cards allows an a…
- 7.5CVE-2020-36277EPSS 2.4%
Leptonica before 1.80.0 allows a denial of service (application crash) via an incorrect left shift in pixConvert2To8 in pixconv.c.
- 5.3CVE-2021-1236EPSS 2.2%
Multiple Cisco products are affected by a vulnerability in the Snort application detection engine that could allow an unauthenticated, remote attacker to bypass the configured policies on an affected system. The vulnerability is due to a f…
- 4.2CVE-2021-3011EPSS 0.2%
An electromagnetic-wave side-channel issue was discovered on NXP SmartMX / P5x security microcontrollers and A7x secure authentication microcontrollers, with CryptoLib through v2.9. It allows attackers to extract the ECDSA private key afte…