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

IdentifierCVE-2025-0218
Base Severity / ScoreMEDIUM (5.5 / 10.0)
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness ClassificationCWE-330, CWE-340
Archive CategoriesMEDIUM 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

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