{"id":"CVE-2022-22704","aliases":["ALPINE-CVE-2022-22704","EUVD-2022-27847","GHSA-rgf9-28hg-x4c8"],"status":"published","title":"The zabbix-agent2 package before 5.4.9-r1 for Alpine Linux sometimes allows privilege escalation...","description":"The zabbix-agent2 package before 5.4.9-r1 for Alpine Linux sometimes allows privilege escalation to root because the design incorrectly expected that systemd would (in effect) determine part of the configuration.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01378,"percentile":0.72275,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-269","CWE-909"],"published":"2022-01-06T04:23:28Z","modified":"2026-11-03T07:30:26Z","fixes":[{"ecosystem":"Alpine:v3.14","package":"zabbix","fixed_in":["5.4.9-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"zabbix","fixed_in":["5.4.9-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"zabbix","fixed_in":["5.4.9-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"zabbix","fixed_in":["5.4.9-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"zabbix","fixed_in":["5.4.9-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"zabbix","fixed_in":["5.4.9-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"zabbix","fixed_in":["5.4.9-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"zabbix","fixed_in":["5.4.9-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"zabbix","fixed_in":["5.4.9-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"zabbix","fixed_in":["5.4.9-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"zabbix","fixed_in":["5.4.9-r1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.14","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.9-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.9-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.9-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.9-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.9-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.9-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.9-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.9-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.9-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.9-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"zabbix","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.9-r1"}]}]}],"products":[{"vendor":"zabbix","product":"zabbix-agent2"}],"references":[{"url":"https://gitlab.alpinelinux.org/alpine/aports/-/issues/13368","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22704"},{"url":"https://github.com/advisories/GHSA-rgf9-28hg-x4c8"},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-22704","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-22704","description":"The zabbix-agent2 package before 5.4.9-r1 for Alpine Linux sometimes allows privilege escalation to root because the design incorrectly expected that systemd would (in effect) determine part of the configuration.","status":"published","published":"2022-01-06T04:23:28Z","modified":"2024-08-03T03:21:49.169Z","updated_at":"2026-11-02T14:34:26.645563Z"}],"euvd":[{"id":"EUVD-2022-27847","description":"The zabbix-agent2 package before 5.4.9-r1 for Alpine Linux sometimes allows privilege escalation to root because the design incorrectly expected that systemd would (in effect) determine part of the configuration.","status":"published","published":"2022-01-06T04:23:28Z","modified":"2024-08-03T03:21:49Z","updated_at":"2026-11-03T03:25:52.201883Z"}],"ghsa":[{"id":"GHSA-rgf9-28hg-x4c8","title":"The zabbix-agent2 package before 5.4.9-r1 for Alpine Linux sometimes allows privilege escalation...","description":"The zabbix-agent2 package before 5.4.9-r1 for Alpine Linux sometimes allows privilege escalation to root because the design incorrectly expected that systemd would (in effect) determine part of the configuration.","status":"published","published":"2022-01-07T00:00:49Z","modified":"2023-08-17T05:02:06Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:54:45.82233Z"}],"nvd":[{"id":"CVE-2022-22704","description":"The zabbix-agent2 package before 5.4.9-r1 for Alpine Linux sometimes allows privilege escalation to root because the design incorrectly expected that systemd would (in effect) determine part of the configuration.","status":"published","published":"2022-01-06T05:15:09.58Z","modified":"2026-06-17T04:28:49.93Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-909"],"updated_at":"2026-11-02T14:07:10.836864Z"}],"osv":[{"id":"ALPINE-CVE-2022-22704","description":"The zabbix-agent2 package before 5.4.9-r1 for Alpine Linux sometimes allows privilege escalation to root because the design incorrectly expected that systemd would (in effect) determine part of the configuration.","status":"published","published":"2022-01-06T05:15:09.58Z","modified":"2026-11-03T07:30:26.886779108Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T07:50:38.973973Z"}]}}
