openwrt/package
Kevin Darbyshire-Bryant a006b48c04 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 21:12:49 +02:00
..
base-files base-files: don't setup network in preinit if failsafe is disabled 2017-08-09 23:20:23 +02:00
boot uboot-envtools: add support for ALFA Network AP121F 2017-07-23 00:26:51 +02:00
devel binutils: fix build with host gcc < 4.9 2017-05-24 18:05:18 +02:00
firmware ath10k-firmware: do not select the qca988x by default 2017-05-27 14:22:16 +02:00
kernel kernel: netfilter: fix nf-nathelper(-extra) description 2017-07-25 21:02:27 +02:00
libs mbedtls: Re-allow SHA1-signed certificates 2017-08-11 20:45:28 +02:00
network dnsmasq: forward.c: fix CVE-2017-13704 2017-08-30 21:12:49 +02:00
system procd: update to the latest git HEAD 2017-08-08 14:41:02 +02:00
utils mtd-utils: use source package name for lzo in PKG_BUILD_DEPENDS 2017-07-08 22:55:19 +02:00
Makefile build: fix triggering opkg/host compilation 2017-04-09 15:42:20 +02:00