CVE-2016-10152
hesiod: Use of hard-coded unsafe configuration if configuration file cannot be opened
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (low), Ubuntu (low).
Description
The read_config_file function in lib/hesiod.c in Hesiod 3.2.1 falls back to the ".athena.mit.edu" default domain when opening the configuration file fails, which allows remote attackers to gain root privileges by poisoning the DNS cache.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | hesiod | 3.2.1-3.1 |
| debian 12 | hesiod | 3.2.1-3.1 |
| debian 13 | hesiod | 3.2.1-3.1 |
| debian 14 | hesiod | 3.2.1-3.1 |
| debian 7 | hesiod | 3.0.2-21+deb7u1 |
| debian 8 | hesiod | no fix listed |
| debian 9 | hesiod | no fix listed |
| echo | hesiod | 3.2.1-3.1 |
| Red Hat | hesiod, hesiod-devel | no fix listed |
| ubuntu 16.04 | hesiod | 3.2.1-3.1~build0.16.04.1 |
| ubuntu 16.04-ESM | hesiod | 3.2.1-3.1~build0.16.04.1 |
| ubuntu 18.04 | hesiod | 3.2.1-3.1~build0.18.04.1 |
Show all 15 entries from 14 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | hesiod | 3.2.1-3.1 |
| debian 12 | hesiod | 3.2.1-3.1 |
| debian 13 | hesiod | 3.2.1-3.1 |
| debian 14 | hesiod | 3.2.1-3.1 |
| debian 7 | hesiod | 3.0.2-21+deb7u1 |
| debian 8 | hesiod | no fix listed |
| debian 9 | hesiod | no fix listed |
| echo | hesiod | 3.2.1-3.1 |
| Red Hat | hesiod | no fix listed |
| Red Hat | hesiod-devel | no fix listed |
| ubuntu 16.04 | hesiod | 3.2.1-3.1~build0.16.04.1 |
| ubuntu 16.04-ESM | hesiod | 3.2.1-3.1~build0.16.04.1 |
| ubuntu 18.04 | hesiod | 3.2.1-3.1~build0.18.04.1 |
| ubuntu 18.04-ESM | hesiod | 3.2.1-3.1~build0.18.04.1 |
| ubuntu 18.10 | hesiod | 3.2.1-3.1~build0.18.10.1 |
References
- http://www.openwall.com/lists/oss-security/2017/01/21/1
- http://www.securityfocus.com/bid/90952
- https://access.redhat.com/security/cve/CVE-2016-10152
- https://bugzilla.redhat.com/show_bug.cgi?id=1332493
- https://github.com/achernya/hesiod/pull/10
- https://nvd.nist.gov/vuln/detail/CVE-2016-10152
- https://security.gentoo.org/glsa/201805-01
- https://www.cve.org/CVERecord?id=CVE-2016-10152