CWE
20
Advisory Published
CVE Published
Updated

CVE-2016-10739: Input Validation

First published: Thu Apr 28 2016(Updated: )

For historic reasons, inet_addr and inet_aton accept trailing garbage. Some parsers rely on this (for example, libresolv when it parses “nameserver” directives in /etc/resolv.conf). This causes problems because some applications assume that a successful parse as an IPv4 address means that the string consists of just an IPv4 address, and nothing more. Glibc should add a check for trailing garbage and relegate the old behavior to a compatibility symbol. For backporting, glibc should just fix getaddrinfo (and related functions if necessary) so that they will not accept trailing garbage. Upstream bug : <a href="https://sourceware.org/bugzilla/show_bug.cgi?id=20018">https://sourceware.org/bugzilla/show_bug.cgi?id=20018</a> Additional note : When used in combination with flaw described in <a href="https://access.redhat.com/security/cve/CVE-2016-5699">CVE-2016-5699</a>, an attacker could direct an HTTP connection to a malicious server, using the following combined issues: * Python's httplib does not validate HTTP header values. A malicious 'Host' header with quoted new lines can inject additional headers and more * glibc's getaddrinfo() ignores new lines and everything after a new line character when the first part looks like a IPv4 address See the following blog post for additional information: <a href="http://blog.blindspotsecurity.com/2016/06/advisory-http-header-injection-in.html">http://blog.blindspotsecurity.com/2016/06/advisory-http-header-injection-in.html</a>

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/glibc<2.29
2.29
redhat/glibc<0:2.17-292.el7
0:2.17-292.el7
redhat/glibc<0:2.28-72.el8
0:2.28-72.el8
GNU glibc<=2.28
openSUSE Leap=15.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203