openwrt/package/network
Kevin Darbyshire-Bryant ca79337306 dnsmasq: forward.c: fix CVE-2017-13704
Fix SIGSEGV in rfc1035.c answer_request() line 1228 where memset()
is called with header & limit pointing at the same address and thus
tries to clear memory from before the buffer begins.

answer_request() is called with an invalid edns packet size provided by
the client.  Ensure the udp_size provided by the client is bounded by
512 and configured maximum as per RFC 6891 6.2.3 "Values lower than 512
MUST be treated as equal to 512"

The client that exposed the problem provided a payload udp size of 0.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Acked-by: Hans Dedecker <dedeckeh@gmail.com>
2017-08-30 17:05:10 +02:00
..
config netifd: update to git HEAD version 2017-08-29 21:19:29 +02:00
ipv6 map: use nested json data object to store map-e fmrs parameters 2017-08-29 21:10:39 +02:00
services dnsmasq: forward.c: fix CVE-2017-13704 2017-08-30 17:05:10 +02:00
utils xtables-addons: update to version 2.13 2017-08-24 08:38:39 +02:00