CyberSecBulletin

Improper Handling of Inconsistent Special Elements

CWE-168

The product does not properly handle input in which an inconsistency exists between two or more special characters or reserved words.

An example of this problem would be if paired characters appear in the wrong order, or if the special characters are not properly nested.

We track 2 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 7.5.

How this weakness is prevented

  • Developers should anticipate that inconsistent special elements will be injected/manipulated in the input vectors of their product. Use an appropriate combination of denylists and allowlists to ensure only valid, expected and appropriate input is processed by the system.
  • Implementation: Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.

Latest Improper Handling of Inconsistent Special Elements vulnerabilities

  • 7.5 High severity

    Candid: Loop with Unreachable Exit Condition

    CVE-2023-6245Internet ComputerEPSS 1.21%

    The Candid library causes a Denial of Service while parsing a specially crafted payload with 'empty' data type. For example, if the payload is `record { * ; empty }` and the canister interface expects `record { * }` then the Rust candid decoder treats empty as

  • 7.5 High severity

    Junos OS: Improper Handling of Inconsistent Special Elements

    CVE-2023-36843Juniper Networks

    An Improper Handling of Inconsistent Special Elements vulnerability in the Junos Services Framework (jsf) module of Juniper Networks Junos OS allows an unauthenticated network based attacker to cause a crash in the Packet Forwarding Engine (pfe) and thereby re