Bug 19691 - Fix answer matching in dual A/AAAA lookups in libresolv
Summary: Fix answer matching in dual A/AAAA lookups in libresolv
Status: NEW
Alias: None
Product: glibc
Classification: Unclassified
Component: network (show other bugs)
Version: 2.24
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on: 19689
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-20 13:26 UTC by Florian Weimer
Modified: 2020-09-11 13:02 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Weimer 2016-02-20 13:26:24 UTC
libresolv does not correctly match answers, particularly if the A and AAAA queries have the same 16-bit DNS transaction ID.

Bug 19689 will fix this for the UDP case.  The TCP case needs to be fixed as well because servers are permitted to reorder TCP responses to avoid head-of-line blocking.

This will improve the detection (in nss_dns) of broken recursive resolvers which do not react well to AAAA queries more reliable.