glibc/nss
Florian Weimer 2373941bd7 CVE-2016-10739: getaddrinfo: Fully parse IPv4 address strings [BZ #20018]
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.

(cherry picked from commit 108bc4049f)
2019-02-04 21:36:37 +01:00
..
nss_compat getgrent_next_nss (compat-initgroups): Remove alloca fallback [BZ #18023] 2018-06-25 18:58:49 +02:00
nss_db
nss_files nss_files: Fix file stream leak in aliases lookup [BZ #23521] 2018-08-14 10:57:48 +02:00
Depend
Makefile nss_files: Fix file stream leak in aliases lookup [BZ #23521] 2018-08-14 10:57:48 +02:00
Versions
XXX-lookup.c
alias-lookup.c
bug-erange.c
bug17079.c nss: Adjust tests to use nss_files only 2018-01-30 14:26:31 +01:00
compat-lookup.c
databases.def
db-Makefile
digits_dots.c CVE-2016-10739: getaddrinfo: Fully parse IPv4 address strings [BZ #20018] 2019-02-04 21:36:37 +01:00
ethers-lookup.c
function.def
getXXbyYY.c
getXXbyYY_r.c
getXXent.c
getXXent_r.c
getent.c getent: Use dynarray in initgroups_keys [BZ #18023] 2018-06-25 19:47:59 +02:00
getnssent.c
getnssent_r.c
grp-lookup.c
hosts-lookup.c
key-lookup.c
makedb.c Update copyright dates not handled by scripts/update-copyrights. 2018-01-01 00:41:16 +00:00
netgrp-lookup.c
network-lookup.c
nss.h
nss_hash.c
nss_test.h
nss_test.ver
nss_test1.c
nss_test2.c
nsswitch.c [BZ #20271] Add newlines in __libc_fatal calls. 2018-11-09 10:17:07 -05:00
nsswitch.conf
nsswitch.h Fix multiple definitions of __nss_*_database (bug 22918) 2018-03-03 17:44:24 +01:00
proto-lookup.c
pwd-lookup.c
rewrite_field.c
rpc-lookup.c
service-lookup.c
sgrp-lookup.c
spwd-lookup.c
test-digits-dots.c
test-netdb.c
tst-cancel-getpwuid_r.c
tst-field.c
tst-nss-files-alias-leak.c nss_files: Fix file stream leak in aliases lookup [BZ #23521] 2018-08-14 10:57:48 +02:00
tst-nss-files-hosts-erange.c
tst-nss-files-hosts-getent.c Fix copyright years in recent commits 2018-07-10 11:03:08 +02:00
tst-nss-files-hosts-multi.c
tst-nss-getpwent.c nss: Adjust tests to use nss_files only 2018-01-30 14:26:31 +01:00
tst-nss-static.c
tst-nss-test1.c
tst-nss-test2.c
tst-nss-test3.c
tst-nss-test4.c
tst-nss-test5.c
valid_field.c
valid_list_field.c