Skip to content
OpenAdvisories

Weakness (CWE)

CWE-1284: Improper Validation of Specified Quantity in Input

Base Incomplete

The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.

How to prevent it (1 mitigation)
  1. Implementation

    Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.

    When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as "red" or "blue."

    Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.

Source: MITRE CWE-1284

170 results · Clear filters · Feed

  • High 8.6
    CVE-2025-48507 Public exploit

    The security state of the calling processor into Trusted Firmware (TF-A) is not used and could potentially allow non-se…

  • High 7.5

    BIG-IP Advanced WAF and ASM bd process vulnerability

    When a BIG-IP Advanced WAF or ASM security policy is configured with a URL greater than 1024 characters in length for the Data Guard Protection Enforcement setting, either manually or through the automatic Policy Builder, the bd process can terminate repeated…

  • High 7.5

    Improper Validation of Specified Quantity in Input in GitLab

    An issue has been discovered in GitLab CE/EE affecting all versions from 7.12 before 18.1.6, 18.2 before 18.2.6, and 18.3 before 18.3.2 that could have allowed unauthorized users to render the GitLab instance unresponsive to legitimate users by sending multip…

  • High 7.5

    WordPress Download Manager and Payment Form plugin <= 2.8.2 - Price Manipulation vulnerability

    Improper Validation of Specified Quantity in Input vulnerability in Convers Lab WP SmartPay smartpay.This issue affects WP SmartPay: from n/a through <= 2.8.2.

  • High 7.3

    Authentication Bypass vulnerability discovered in the OpenText™ Self-Service Password Reset

    Improper Input Validation vulnerability in OpenText Self Service Password Reset allows Authentication Bypass.This issue affects Self Service Password Reset from before 4.8 patch 3.

  • High 8.7

    Improper access control on the NetScaler Management Interface

    Improper access control on the NetScaler Management Interface in NetScaler ADC and NetScaler Gateway when an attacker can get access to the appliance NSIP, Cluster Management IP or local GSLB Site IP or SNIP with Management Access

  • High 8.8

    Tesla Wall Connector Content-Length Header Improper Input Validation Remote Code Execution Vulnerability

    Tesla Wall Connector Content-Length Header Improper Input Validation Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Tesla Wall Connector devices. Authentication …

  • High 7.5

    resolv vulnerable to DoS via insufficient DNS domain name length validation

    The attack vector is a potential Denial of Service (DoS). The vulnerability is caused by an insufficient check on the length of a decompressed domain name within a DNS packet. An attacker can craft a malicious DNS packet containing a highly compressed domain …

  • High 8.7
    CVE-2025-5349 Public exploit

    NetScaler ADC and NetScaler Gateway - Improper access control on the NetScaler Management Interface

    Improper access control on the NetScaler Management Interface in NetScaler ADC and NetScaler Gateway

  • High 7.5

    On affected platforms running Arista EOS with Traffic Policies configured the vulnerability will cause received untagged packets not to hit Traffic Policy rules that they are expected to hit. If the rule was to drop the packet, the packet will not be dropp

    On affected platforms running Arista EOS with Traffic Policies configured the vulnerability will cause received untagged packets not to hit Traffic Policy rules that they are expected to hit. If the rule was to drop the packet, the packet will not be dropped …

  • High 7.5

    Improper Validation of Specified Quantity in Input vulnerability in Mitsubishi Electric Corporation CC-Link IE TSN Remo…

  • High 7.5

    NamelessMC Has Lack of Length Validation for s Parameter in GET Requests

    NamelessMC is a free, easy to use & powerful website software for Minecraft servers. In version 2.1.4 and prior, the s parameter in GET requests for forum search functionality lacks length validation, allowing attackers to submit excessively long search queri…

  • High 7.8

    GPU DDK - PhysmemWrapExtMem uiSize=0 corrupts kernel memory

    Software installed and run as a non-privileged user may conduct improper GPU system calls to cause kernel system memory corruption.

  • High 7.8

    Game center application has code execution Vulnerability

    A code execution vulnerability exists in the Xiaomi Game center application product. The vulnerability is caused by improper input validation and can be exploited by attackers to execute malicious code.

  • High 7.5
  • High 7.8

    An issue in the DeviceloControl function of ITE Tech. Inc ITE IO Access v1.0.0.0 allows attackers to perform arbitrary …

  • High 8.7

    OPPO Store app include remote account token hijacking and sensitive information leakage

    In OPPO Store APP, there's a possible escalation of privilege due to improper input validation.

  • High 7.0

    An issue was discovered in Samsung Mobile Processor and Wearable Processor Exynos 2100, 1280, 2200, 1330, 1380, 1480, 2…

  • High 8.8

    Insufficient data validation in Mojo in Google Chrome prior to 129.0.6668.89 allowed a remote attacker who had compromi…

  • High 7.5

    Florent Thiéry has found that selected Axis devices were vulnerable to handling certain ethernet frames which could lea…

  • High 7.3

    Input Validation Vulnerability exists in Arena® Input Analyzer

    A memory corruption vulnerability exists in the affected products when parsing DFT files. Local threat actors can exploit this issue to disclose information and to execute arbitrary code. To exploit this vulnerability a legitimate user must open a malicious D…

  • High 7.2

    Improper regex in htaccess file

    ImpactThe default .htaccess file has some restrictions in the access to PHP files to only allow specific PHP files to be executed in the root of the application. This logic isn't correct, as the regex in the second FilesMatch only checks the filename, not the…

  • High 7.5

    Django vulnerable to denial-of-service attack

    An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget, are subject to a potential denial-of-service attack via certain inputs with a very large number of Unico…

  • High 8.6

    phonenumber panics on parsing crafted phonenumber inputs

    phonenumber is a library for parsing, formatting and validating international phone numbers. Since 0.3.4, the phonenumber parsing code may panic due to a panic-guarded out-of-bounds access on the phonenumber string. In a typical deployment of rust-phonenumber…

  • High 7.3

    Elevation of Privelage via symlinked file in Avast Antivirus

    A sym-linked file accessed via the repair function in Avast Antivirus <24.2 on Windows may allow user to elevate privilege to delete arbitrary files or run processes as NT AUTHORITY\SYSTEM. The vulnerability exists within the "Repair" (settings -> troubleshoo…

  • High 7.5

    WordPress WP Express Checkout plugin <= 2.3.7 - Price Manipulation vulnerability

    Improper Validation of Specified Quantity in Input vulnerability in Tips and Tricks HQ WP Express Checkout (Accept PayPal Payments) allows Manipulating Hidden Fields.This issue affects WP Express Checkout (Accept PayPal Payments): from n/a through 2.3.7.

  • High 7.3
    CVE-2023-38709 Public exploit

    Apache HTTP Server: HTTP response splitting

    Faulty input validation in the core of Apache allows malicious or exploitable backend/content generators to split HTTP responses. This issue affects Apache HTTP Server: through 2.4.58.

  • High 8.6

    blurhash panics on parsing crafted inputs

    blurhash-rs is a pure Rust implementation of Blurhash, software for encoding images into ASCII strings that can be turned into a gradient of colors representing the original image. In version 0.1.1, the blurhash parsing code may panic due to multiple panic-gu…

  • High 8.6

    phonenumber panics on parsing crafted RF3966 inputs

    phonenumber is a library for parsing, formatting and validating international phone numbers. Prior to versions `0.3.3+8.13.9` and `0.2.5+8.11.3`, the phonenumber parsing code may panic due to a panic-guarded out-of-bounds access on the phonenumber string. In …

  • High 7.1

    jcvi vulnerable to Configuration Injection due to unsanitized user input

    jcvi is a Python library to facilitate genome assembly, annotation, and comparative genomics. A configuration injection happens when user input is considered by the application in an unsanitized format and can reach the configuration file. A malicious user ma…

  • High 7.5

    A denial of service attack might be launched against the server if an unusually lengthy password (more than 10000000 ch…

  • High 8.8

    Due to URL previews in the network panel of developer tools improperly storing URLs, query parameters could potentially…

  • High 7.8

    An issue was found in Action Launcher v50.5 allows an attacker to escalate privilege via modification of the intent str…

  • High 8.1

    CLTPHP <=6.0 is vulnerable to Improper Input Validation via application/admin/controller/Template.php.

  • High 7.5

    The geofencing kernel code has a vulnerability of not verifying the length of the input data. Successful exploitation o…

  • High 7.5

    The geofencing kernel code does not verify the length of the input data. Successful exploitation of this vulnerability …

  • High 7.8
    CVE-2022-20493 Public exploit

    In Condition of Condition.java, there is a possible way to grant notification access due to improper input validation. …

  • High 7.8

    In NotificationChannel of NotificationChannel.java, there is a possible failure to persist permissions settings due to …

  • High 7.8

    In NotificationChannel of NotificationChannel.java, there is a possible failure to persist permissions settings due to …

  • High 7.5

    In process_service_search_rsp of sdp_discovery.cc, there is a possible out of bounds read due to improper input validat…