Details
Description
There is a buffer overflow issue in the PROXY protocol v1 header parsing (parse_proxy_protocol_header()).
The loop that reads the v1 header could fill the entire buffer and then add a null terminator past the boundary, which leads to an off-by-one overflow.
Attachments
Issue Links
- is duplicated by
-
MDEV-39466 Proxy Protocol V1 parser suffers from an off-by-one stack buffer overflow and unbounded sscanf
-
- Closed
-
-
MDEV-39564 One-byte OOB write in PROXY protocol v1 header parser
-
- Closed
-