{"id":"CVE-2016-10151","aliases":["DEBIAN-CVE-2016-10151","DLA-796-1","EUVD-2016-1339","GHSA-753x-9q2q-hv3r","UBUNTU-CVE-2016-10151"],"status":"published","title":"The hesiod_init function in lib/hesiod.c in Hesiod 3.2.1 compares EUID with UID to determine...","description":"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.","severity":{"version":"3.0","score":7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00391,"percentile":0.3346,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-264"],"published":"2017-01-24T00:00:00Z","modified":"2026-10-20T10:46:30Z","fixes":[{"ecosystem":"Debian:12","package":"hesiod","fixed_in":["3.2.1-3.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"hesiod","fixed_in":["3.2.1-3.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"hesiod","fixed_in":["3.2.1-3.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"hesiod","fixed_in":["3.2.1-3.1~build0.16.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"hesiod","fixed_in":["3.2.1-3.1~build0.18.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"hesiod","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1-3.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"hesiod","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1-3.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"hesiod","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1-3.1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"hesiod","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.2-21+deb7u1"}]}],"versions":["3.0.2-21"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"hesiod","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1-3.1~build0.16.04.1"}]}],"versions":["3.2.1-3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"hesiod","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1-3.1~build0.18.04.1"}]}],"versions":["3.2.1-3","3.2.1-3build1"]}],"products":[{"vendor":"hesiod_project","product":"hesiod"}],"references":[{"url":"https://github.com/achernya/hesiod/pull/9","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1332508","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","report"]},{"url":"http://www.securityfocus.com/bid/90952","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2017/01/21/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://security.gentoo.org/glsa/201805-01","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10151"},{"url":"https://github.com/advisories/GHSA-753x-9q2q-hv3r"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-10151","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-10151","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-10151","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-10151","description":"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.","status":"published","published":"2017-03-01T20:00:00Z","modified":"2024-08-06T03:14:42.679Z","updated_at":"2026-11-02T14:33:31.117878Z"}],"euvd":[{"id":"EUVD-2016-1339","description":"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.","status":"published","published":"2017-03-01T20:00:00Z","modified":"2024-08-06T03:14:42Z","updated_at":"2026-11-03T02:22:24.738409Z"}],"ghsa":[{"id":"GHSA-753x-9q2q-hv3r","title":"The hesiod_init function in lib/hesiod.c in Hesiod 3.2.1 compares EUID with UID to determine...","description":"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.","status":"published","published":"2022-05-14T02:19:48Z","modified":"2023-02-02T05:05:57Z","cvss":[{"version":"3.0","score":7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T14:52:12.693005Z"}],"nvd":[{"id":"CVE-2016-10151","description":"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.","status":"published","published":"2017-03-01T20:59:00.16Z","modified":"2026-06-17T00:39:09.627Z","cvss":[{"version":"3.0","score":7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.9,"vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","level":"medium","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:03:37.238712Z"}],"osv":[{"id":"CVE-2016-10151","description":"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.","status":"published","published":"2017-03-01T20:59:00.16Z","modified":"2026-10-20T10:46:30.543595047Z","cvss":[{"version":"3.0","score":7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:01.531338Z"},{"id":"DEBIAN-CVE-2016-10151","description":"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.","status":"published","published":"2017-03-01T20:59:00.16Z","modified":"2026-09-22T07:01:18.83228923Z","cvss":[{"version":"3.0","score":7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:27.323751Z"},{"id":"UBUNTU-CVE-2016-10151","description":"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.","status":"published","published":"2017-03-01T20:59:00Z","modified":"2026-04-22T10:29:02.215633Z","cvss":[{"version":"3.0","score":7,"vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:11.492576Z"},{"id":"DLA-796-1","title":"hesiod - security update","status":"published","published":"2017-01-24T00:00:00Z","modified":"2026-03-09T02:10:54.495799Z","updated_at":"2026-11-02T15:46:13.207219Z"}]}}
