Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807604 - <net-dns/c-ares-1.17.2: missing validation on hostnames returned by DNS servers (CVE-2021-3672)
Summary: <net-dns/c-ares-1.17.2: missing validation on hostnames returned by DNS serve...
Status: IN_PROGRESS
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL:
Whiteboard: B3 [glsa?]
Keywords:
Depends on: CVE-2021-22930, CVE-2021-22931, CVE-2021-22939, CVE-2021-22940
Blocks: CVE-2021-3672
  Show dependency tree
 
Reported: 2021-08-10 19:18 UTC by Allen Webb
Modified: 2021-09-08 01:45 UTC (History)
1 user (show)

See Also:
Package list:
net-dns/c-ares-1.17.2 *
Runtime testing required: ---
nattka: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Allen Webb 2021-08-10 19:18:41 UTC
c-ares before 1.17.2 has missing input validation.

```
Missing input validation of host names returned by Domain Name Servers in the c-ares library can lead to output of wrong hostnames (leading to Domain Hijacking).

The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2021-3672 to this issue.
```
From: https://c-ares.haxx.se/adv_20210810.html
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-08-10 19:45:06 UTC
Thanks!
Comment 2 Larry the Git Cow gentoo-dev 2021-08-10 23:45:37 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c06fd172f1183f13dd6802abd5c3585987f4bc86

commit c06fd172f1183f13dd6802abd5c3585987f4bc86
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-10 23:45:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-10 23:45:18 +0000

    net-dns/c-ares: add 1.17.2
    
    Now with tests.
    
    Bug: https://bugs.gentoo.org/807604
    Signed-off-by: Sam James <sam@gentoo.org>

 net-dns/c-ares/Manifest             |  1 +
 net-dns/c-ares/c-ares-1.17.2.ebuild | 49 +++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)