CVE-2025-0218: pgAgent scheduled batch job scripts are created in a predictable temporary directory potentially allowing a denial of service

Medium (5.5)

Sign up for FREE to recieve instant alerts about this vulnerability!

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.

Classification

CVE ID: CVE-2025-0218

CVSS Base Severity: MEDIUM

CVSS Base Score: 5.5

Affected Products

Vendor: n/a

Product: pgAgent

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 0.11488 (how common is this exploit)

EPSS Date: 2025-02-05 (when was this score calculated)

Timeline