CVE-2025-0218
pgAgent scheduled batch job scripts are created in a predictable temporary directory potentially allowing a denial of service
- State
- Published
- Severity
- 5.5 Medium
- Published
- Jan 7, 2025
- Updated
- Nov 3, 2025
- Reserved
- Jan 4, 2025
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.5 Medium | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | PostgreSQL |
Weaknesses
- CWE-340 Generation of Predictable Numbers or Identifiers
Affected Products
| Product | Versions |
|---|---|
pgAgentn/a |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.