Skip to content
OpenAdvisories

Weakness (CWE)

CWE-179: Incorrect Behavior Order: Early Validation

Base Incomplete

The product validates input before applying protection mechanisms that modify the input.

How to prevent it (1 mitigation)
  1. 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.

Source: MITRE CWE-179

11 results · Feed

  • Medium 4.0

    Improper validation of Reverse Map Table (RMP) entries in the Secure Encrypted Virtualization (SEV) firmware could allo…

  • Medium 6.3

    Apache Wicket: A component's markup is served as a package resource when its class name contains an underscore

    Incorrect behavior order in Apache Wicket: a file path is validated before the framework appends the attributes that complete it. org.apache.wicket.request.resource.PackageResource asks the configured package resource guard about a path built from the scope c…

  • Medium 4.3

    cosmicstack-labs mercury-agent Shell Command Execution permissions.ts checkShellCommand validate before canonicalize

    A vulnerability was detected in cosmicstack-labs mercury-agent up to 1.1.13. Affected is the function checkShellCommand of the file src/capabilities/permissions.ts of the component Shell Command Execution. The manipulation results in incorrect behavior order:…

  • High 7.8

    ASLR bypass for setuid executables via procctl(2)

    The ELF image activator cleared per-process ASLR preference flags for setuid binaries after the code that computes the PIE base address, rather than before. As a result, a user-requested ASLR disable was still in effect at the point where the base address was…

  • Low 3.7

    Gnutls: gnutls: security bypass allows acceptance of revoked server certificates via crafted ocsp response

    A flaw was found in gnutls. A remote attacker could exploit this vulnerability by presenting a specially crafted Online Certificate Status Protocol (OCSP) response during a TLS handshake. Due to a logic error in how gnutls processes multi-record OCSP response…

  • Low 3.8

    Zio has SubFileSystem Path Confinement Bypass via Unresolved `..` Segment

    # Summary `SubFileSystem` fails to confine operations to its declared sub path when the input path is `/../` (or equivalents `/../`, `/..\\`). This path passes all validation but resolves to the root of the parent filesystem, allowing directory level operatio…

  • High 7.8

    Traefik mTLS bypass via fragmented ClientHello SNI extraction failure

    Traefik is an HTTP reverse proxy and load balancer. Versions 2.11.40 and below, 3.0.0-beta1 through 3.6.11, and 3.7.0-ea.1 are vulnerable to mTLS bypass through the TLS SNI pre-sniffing logic related to fragmented ClientHello packets. When a TLS ClientHello i…

  • High 7.5

    Fastify's Content-Type header tab character allows body validation bypass

    Fastify is a fast and low overhead web framework, for Node.js. Prior to version 5.7.2, a validation bypass vulnerability exists in Fastify where request body validation schemas specified by Content-Type can be completely circumvented. By appending a tab chara…

  • High 8.3

    lockfile-lint-api Vulnerable to Incorrect Behavior Order

    Versions of the package lockfile-lint-api before 5.9.2 are vulnerable to Incorrect Behavior Order: Early Validation via the resolved attribute of the package URL validation which can be bypassed by extending the package name allowing an attacker to install ot…

  • High 7.3

    Password Policy Bypass Vulnerability

    This vulnerability exists in SyroTech SY-GPON-1110-WDONT Router due to improper implementation of password policies. A local attacker could exploit this by creating password that do not adhere to the defined security standards/policy on the vulnerable system.…

  • High 8.8

    An arbitrary file write vulnerability was found in GNU gzip's zgrep utility. When zgrep is applied on the attacker's ch…