The hesiodinit 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) HESIODCONFIG or (2) HES_DOMAIN environment variable and leveraging certain SUID/SGUID binary.
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "3.2.1-3.1~build0.16.04.1", "binary_name": "hesiod" }, { "binary_version": "3.2.1-3.1~build0.16.04.1", "binary_name": "hesiod-dbgsym" }, { "binary_version": "3.2.1-3.1~build0.16.04.1", "binary_name": "libhesiod-dev" }, { "binary_version": "3.2.1-3.1~build0.16.04.1", "binary_name": "libhesiod0" }, { "binary_version": "3.2.1-3.1~build0.16.04.1", "binary_name": "libhesiod0-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "3.2.1-3.1~build0.18.04.1", "binary_name": "hesiod" }, { "binary_version": "3.2.1-3.1~build0.18.04.1", "binary_name": "hesiod-dbgsym" }, { "binary_version": "3.2.1-3.1~build0.18.04.1", "binary_name": "libhesiod-dev" }, { "binary_version": "3.2.1-3.1~build0.18.04.1", "binary_name": "libhesiod0" }, { "binary_version": "3.2.1-3.1~build0.18.04.1", "binary_name": "libhesiod0-dbgsym" } ] }