Details
Description
When the client sends a PROXY-protocol v1 signature followed by 252 bytes that contain no \n terminator, parse_proxy_protocol_header exits its read loop with pos == sizeof(hdr) and then executes hdr[pos] = 0, writing one byte past the end of the buffer.
Reported by Sean Nejad.
Attachments
Issue Links
- duplicates
-
MDEV-39219 Buffer overflow in PROXY protocol header v1 parsing
-
- Closed
-