A parsing issue with binary data in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n-forth between mutable and immutable forms, resulting in potentially long garbage collection pauses. We recommend updating to the versions mentioned above.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Google-protobuf | * | 3.16.3 (excluding) | |
Google-protobuf | 3.17.0 (including) | 3.19.6 (excluding) | |
Google-protobuf | 3.20.0 (including) | 3.20.3 (excluding) | |
Google-protobuf | 3.21.0 (including) | 3.21.7 (excluding) | |
Protobuf-java | * | 3.16.3 (excluding) | |
Protobuf-java | 3.17.0 (including) | 3.19.6 (excluding) | |
Protobuf-java | 3.20.0 (including) | 3.20.3 (excluding) | |
Protobuf-java | 3.21.0 (including) | 3.21.7 (excluding) | |
Protobuf-javalite | * | 3.16.3 (excluding) | |
Protobuf-javalite | 3.17.0 (including) | 3.19.6 (excluding) | |
Protobuf-javalite | 3.20.0 (including) | 3.20.3 (excluding) | |
Protobuf-javalite | 3.21.0 (including) | 3.21.7 (excluding) | |
Protobuf-kotlin | * | 3.16.3 (excluding) | |
Protobuf-kotlin | 3.17.0 (including) | 3.19.6 (excluding) | |
Protobuf-kotlin | 3.20.0 (including) | 3.20.3 (excluding) | |
Protobuf-kotlin | 3.21.0 (including) | 3.21.7 (excluding) | |
Protobuf-kotlin-lite | * | 3.16.3 (excluding) | |
Protobuf-kotlin-lite | 3.17.0 (including) | 3.19.6 (excluding) | |
Protobuf-kotlin-lite | 3.20.0 (including) | 3.20.3 (excluding) | |
Protobuf-kotlin-lite | 3.21.0 (including) | 3.21.7 (excluding) | |
Red Hat AMQ Streams 2.7.0 | RedHat | * | |
Red Hat build of Quarkus 2.13.5 | RedHat | * | |
Red Hat build of Quarkus 2.7.7 | RedHat | protobuf-java | * |
RHINT Debezium 1.9.7 | RedHat | protobuf-java | * |
RHPAM 7.13.4 async | RedHat | protobuf-java | * |
Protobuf | Ubuntu | bionic | * |
Protobuf | Ubuntu | esm-infra-legacy/trusty | * |
Protobuf | Ubuntu | esm-infra/bionic | * |
Protobuf | Ubuntu | esm-infra/focal | * |
Protobuf | Ubuntu | esm-infra/xenial | * |
Protobuf | Ubuntu | focal | * |
Protobuf | Ubuntu | jammy | * |
Protobuf | Ubuntu | kinetic | * |
Protobuf | Ubuntu | trusty | * |
Protobuf | Ubuntu | trusty/esm | * |
Protobuf | Ubuntu | upstream | * |
Protobuf | Ubuntu | xenial | * |
Input validation is a frequently-used technique for checking potentially dangerous inputs in order to ensure that the inputs are safe for processing within the code, or when communicating with other components. Input can consist of:
Data can be simple or structured. Structured data can be composed of many nested layers, composed of combinations of metadata and raw data, with other simple or structured data. Many properties of raw data or metadata may need to be validated upon entry into the code, such as:
Implied or derived properties of data must often be calculated or inferred by the code itself. Errors in deriving properties may be considered a contributing factor to improper input validation.