CyberSecBulletin

Always-Incorrect Control Flow Implementation

CWE-670

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.

This weakness captures cases in which a particular code segment is always incorrect with respect to the algorithm that it is implementing. For example, if a C programmer intends to include multiple statements in a single block but does not include the enclosing braces (CWE-483), then the logic is always incorrect. This issue is in contrast to most weaknesses in which the code usually behaves correctly, except when it is externally manipulated in malicious ways.

We track 61 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.0. 1 has been exploited in real attacks.

Latest Always-Incorrect Control Flow Implementation vulnerabilities

  • 7.5 High severity

    openzeppelin-contracts: Always-Incorrect Control Flow Implementation

    CVE-2023-49798OpenZeppelin

    OpenZeppelin Contracts is a library for smart contract development. A merge issue when porting the 5.0.1 patch to the 4.9 branch caused a line duplication. In the version of `Multicall.sol` released in `@openzeppelin/[email protected]` and `@openzeppelin/contrac

  • 9.8 Critical severity

    electron: Always-Incorrect Control Flow Implementation

    CVE-2023-23623Electron

    Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. A Content-Security-Policy that disables eval, specifically setting a `script-src` directive and _not_ providing `unsafe-eval` in that directive, is

  • 7.5 High severity

    parse-server: Always-Incorrect Control Flow Implementation

    CVE-2023-41058Parse-community

    Parse Server is an open source backend server. In affected versions the Parse Cloud trigger `beforeFind` is not invoked in certain conditions of `Parse.Query`. This can pose a vulnerability for deployments where the `beforeFind` trigger is used as a security l

  • 7.5 High severity

    Service Router Linux: Always-Incorrect Control Flow Implementation

    CVE-2023-41376Nokia

    Nokia Service Router Operating System (SR OS) 22.10 and SR Linux, when error-handling update-fault-tolerance is not enabled, mishandle BGP path attributes.

  • 7.5 High severity

    vyper: Always-Incorrect Control Flow Implementation

    CVE-2023-30629Vyperlang

    Vyper is a Pythonic Smart Contract Language for the ethereum virtual machine. In versions 0.3.1 through 0.3.7, the Vyper compiler generates the wrong bytecode. Any contract that uses the `raw_call` with `revert_on_failure=False` and `max_outsize=0` receives th

  • 7.5 High severity

    Onos: Always-Incorrect Control Flow Implementation

    CVE-2022-29607Opennetworking

    An issue was discovered in ONOS 2.5.1. Modification of an existing intent to have the same source and destination shows the INSTALLED state without any flow rule. Improper handling of such an intent is misleading to a network operator.

  • 7.5 High severity

    Onos: Always-Incorrect Control Flow Implementation

    CVE-2022-29605Opennetworking

    An issue was discovered in ONOS 2.5.1. IntentManager attempts to install the IPv6 flow rules of an intent into an OpenFlow 1.0 switch that does not support IPv6. Improper handling of the difference in capabilities of the intent and switch is misleading to a ne

  • 8.2 High severity

    openvswitch: Always-Incorrect Control Flow Implementation

    CVE-2023-1668OpenvswitchEPSS 1.22%

    A flaw was found in openvswitch (OVS). When processing an IP packet with protocol 0, OVS will install the datapath flow without the action modifying the IP header. This issue results (for both kernel and userspace datapath) in installing a datapath flow matchi

  • 8.8 High severity

    Ryzen™ 2000 Series: Always-Incorrect Control Flow Implementation

    CVE-2023-20558AMD

    Insufficient control flow management in AmdCpmOemSmm may allow a privileged attacker to tamper with the SMM handler potentially leading to an escalation of privileges.

  • 8.2 High severity

    Data Loss Prevention (DLP): Uncontrolled Search Path Element

    CVE-2023-0400Trellix

    The protection bypass vulnerability in DLP for Windows 11.9.x is addressed in version 11.10.0. This allowed a local user to bypass DLP controls when uploading sensitive data from a mapped drive into a web email client. Loading from a local driver was correctly

  • 7.3 High severity

    Android: Always-Incorrect Control Flow Implementation

    CVE-2023-20921Android

    In onPackageRemoved of AccessibilityManagerService.java, there is a possibility to automatically grant accessibility services due to a logic error in the code. This could lead to local escalation of privilege with no additional execution privileges needed. Use

  • 7.8 High severity

    Android: Always-Incorrect Control Flow Implementation

    CVE-2023-20915Android

    In addOrReplacePhoneAccount of PhoneAccountRegistrar.java, there is a possible way to enable a phone account without user interaction due to a logic error in the code. This could lead to local escalation of privilege with no additional execution privileges nee

  • 9.8 Critical severity

    zephyr: Always-Incorrect Control Flow Implementation

    CVE-2022-2993Zephyrproject-rtos

    There is an error in the condition of the last if-statement in the function smp_check_keys. It was rejecting current keys if all requirements were unmet.

  • 7.5 High severity

    tensorflow: Always-Incorrect Control Flow Implementation

    CVE-2022-41884TensorFlow

    TensorFlow is an open source platform for machine learning. If a numpy array is created with a shape such that one element is zero and the others sum to a large number, an error will be raised. We have patched the issue in GitHub commit 2b56169c16e375c521a3bc8

  • 7.5 High severity

    Fabric: Always-Incorrect Control Flow Implementation

    CVE-2022-45196Hyperledger

    Hyperledger Fabric 2.3 allows attackers to cause a denial of service (orderer crash) by repeatedly sending a crafted channel tx with the same Channel name. NOTE: the official Fabric with Raft prevents exploitation via a locking mechanism and a check for names

  • 7.5 High severity

    evm: Always-Incorrect Control Flow Implementation

    CVE-2022-39354Rust-blockchain

    SputnikVM, also called evm, is a Rust implementation of Ethereum Virtual Machine. A custom stateful precompile can use the `is_static` parameter to determine if the call is executed in a static context (via `STATICCALL`), and thus decide if stateful operations

  • 7.5 High severity

    ultrajson: Always-Incorrect Control Flow Implementation

    CVE-2022-31116UltrajsonEPSS 2.54%

    UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were

  • 7.5 High severity

    vyper: Always-Incorrect Control Flow Implementation

    CVE-2022-29255VyperlangEPSS 1.35%

    Vyper is a Pythonic Smart Contract Language for the ethereum virtual machine. In versions prior to 0.3.4 when a calling an external contract with no return value, the contract address (including side effects) could be evaluated twice. This may result in incorr

  • 7.5 High severity

    BIG-IP Advanced WAF, ASM, and APM: Always-Incorrect Control Flow Implementation

    CVE-2022-26890F5

    On F5 BIG-IP Advanced WAF, ASM, and APM 16.1.x versions prior to 16.1.2.1, 15.1.x versions prior to 15.1.5, 14.1.x versions prior to 14.1.4.6, and 13.1.x versions prior to 13.1.5, when ASM or Advanced WAF, as well as APM, are configured on a virtual server, th

  • 7.5 High severity

    envoy: Always-Incorrect Control Flow Implementation

    CVE-2022-21655EnvoyproxyEPSS 1.15%

    Envoy is an open source edge and service proxy, designed for cloud-native applications. The envoy common router will segfault if an internal redirect selects a route configured with direct response or redirect actions. This will result in a denial of service.

  • 9.8 Critical severity

    istio: Always-Incorrect Control Flow Implementation

    CVE-2022-21679IstioEPSS 1.1%

    Istio is an open platform to connect, manage, and secure microservices. In Istio 1.12.0 and 1.12.1 The authorization policy with hosts and notHosts might be accidentally bypassed for ALLOW action or rejected unexpectedly for DENY action during the upgrade from