{"id":"DEBIAN-CVE-2025-0218","details":"When batch jobs are executed by pgAgent, a script is created in a temporary directory and then executed. In versions of pgAgent prior to 4.2.3, an insufficiently seeded random number generator is used when generating the directory name, leading to the possibility for a local attacker to pre-create the directory and thus prevent pgAgent from executing jobs, disrupting scheduled tasks.","modified":"2026-09-01T20:05:40.170423352Z","published":"2025-01-07T20:15:30.710Z","upstream":["CVE-2025-0218"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-0218"}],"affected":[{"package":{"name":"pgagent","ecosystem":"Debian:12","purl":"pkg:deb/debian/pgagent?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.2-2","4.2.2-3","4.2.2-4","4.2.3-1","4.2.3-2","4.2.3-3","4.2.3-4","4.2.3-5"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-0218.json"}},{"package":{"name":"pgagent","ecosystem":"Debian:13","purl":"pkg:deb/debian/pgagent?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-0218.json"}},{"package":{"name":"pgagent","ecosystem":"Debian:14","purl":"pkg:deb/debian/pgagent?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-0218.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"}]}