glibc/nscd
Florian Weimer 66bec53f07 CVE-2016-10739: getaddrinfo: Fully parse IPv4 address strings [BZ #20018]
Some tests in original commit are not included because they depend on headers that
are not present in GRTEv5 branch.

The IPv4 address parser in the getaddrinfo function is changed so that
it does not ignore trailing whitespace and all characters after it.
For backwards compatibility, the getaddrinfo function still recognizes
legacy name syntax, such as 192.000.002.010 interpreted as 192.0.2.8
(octal).

This commit does not change the behavior of inet_addr and inet_aton.
gethostbyname already had additional sanity checks (but is switched
over to the new __inet_aton_exact function for completeness as well).

To avoid sending the problematic query names over DNS, commit
6ca53a2453 ("resolv: Do not send queries
for non-host-names in nss_dns [BZ #24112]") is needed.
2024-01-12 23:19:48 +00:00
..
aicache.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
cache.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
connections.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
dbg_log.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
dbg_log.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Depend Don't mention linuxthreads in Depend files. 2014-05-21 16:53:11 +00:00
gai.c CVE-2016-10739: getaddrinfo: Fully parse IPv4 address strings [BZ #20018] 2024-01-12 23:19:48 +00:00
getgrgid_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getgrnam_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
gethstbyad_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
gethstbynm3_r.c CVE-2016-10739: getaddrinfo: Fully parse IPv4 address strings [BZ #20018] 2024-01-12 23:19:48 +00:00
getpwnam_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getpwuid_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getsrvbynm_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getsrvbypt_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
grpcache.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hstcache.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
initgrcache.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mem.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
netgroupcache.c [BZ #22342] Fix netgroup cache keys. 2018-03-01 23:20:45 -05:00
nscd_conf.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_getai.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_getgr_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_gethst_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_getpw_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_getserv_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_helper.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_initgroups.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_netgroup.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_proto.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_setup_thread.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_stat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd-client.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd.c Update copyright dates not handled by scripts/update-copyrights. 2018-01-01 00:41:16 +00:00
nscd.conf Implement caching of nscd 2011-10-07 10:06:31 -04:00
nscd.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd.init . 2007-07-31 13:33:18 +00:00
nscd.service nscd: also invalidate netgroup cache on reload 2014-03-19 14:45:10 +01:00
nscd.tmpfiles Add systemd unit file for nscd 2013-12-16 11:22:01 +10:00
pwdcache.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
res_hconf.c [BZ #4814] 2007-08-22 03:14:29 +00:00
selinux.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
selinux.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
servicescache.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00