Access Restriction Bypass Affecting hesiod package, versions <3.2.1-3.1~build0.16.04.1


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-HESIOD-291846
  • published1 Mar 2017
  • disclosed1 Mar 2017

Introduced: 1 Mar 2017

CVE-2016-10151  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 hesiod to version 3.2.1-3.1~build0.16.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream hesiod package and not the hesiod package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

The hesiod_init function in lib/hesiod.c in Hesiod 3.2.1 compares EUID with UID to determine whether to use configurations from environment variables, which allows local users to gain privileges via the (1) HESIOD_CONFIG or (2) HES_DOMAIN environment variable and leveraging certain SUID/SGUID binary.