-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Malformed Protobuf file can lead to server crash #11203
Copy link
Copy link
Closed
Labels
bugConfirmed user-visible misbehaviour in official releaseConfirmed user-visible misbehaviour in official releasecomp-formatsInput/output formats (CSV/JSON/Parquet/ORC/Arrow/Protobuf/etc.).Input/output formats (CSV/JSON/Parquet/ORC/Arrow/Protobuf/etc.).crashCrash / segfault / abortCrash / segfault / abort
Description
See bad_protobuf.zip
Catched by:
dd if=/dev/urandom count=100000 bs=1 | tee bad.data | clickhouse-local -S "c1 Int64, c2 String, c3 String, c4 UInt32, c5 String, c6 Int64, c7 Array(Int32), c8 Array(UInt8), c9 Array(Int32), c10 Array(Int32), c11 Array(String)" -q "SELECT count() FROM table" --input-format=Protobuf --format_schema=schema:BadDataTests --stacktrace
(Originally the compressed data was sent via HTTP w/o appropriate Content-Encoding header).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugConfirmed user-visible misbehaviour in official releaseConfirmed user-visible misbehaviour in official releasecomp-formatsInput/output formats (CSV/JSON/Parquet/ORC/Arrow/Protobuf/etc.).Input/output formats (CSV/JSON/Parquet/ORC/Arrow/Protobuf/etc.).crashCrash / segfault / abortCrash / segfault / abort