MEDIUM · CVSS 5.5 Published: 2025-01-07
CVE-2025-0218 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-0218 |
|---|---|
| Base Severity / Score | MEDIUM (5.5 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Weakness Classification | CWE-330, CWE-340 |
| Archive Categories | MEDIUM Advisories · 2025 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/pgadmin-org/pgagent/commit/1ecd193a2be3a3dc9e98f369495e1a792e6d508c
- https://lists.debian.org/debian-lts-announce/2025/10/msg00018.html
Related Security Advisories
CVE-2025-0217 HIGH 7.8
CVE-2025-0221 MEDIUM 5.5
CVE-2025-0212 MEDIUM 6.3
CVE-2025-0213 MEDIUM 6.3
CVE-2025-0222 MEDIUM 5.5
CVE-2025-0223 MEDIUM 5.5
CVE-2025-0229 MEDIUM 6.3