CVE-2025-0218CWE-340

pgAgent scheduled batch job scripts are created in a predictable temporary directory potentially allowing a denial of service

Medium · published January 7, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
6.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00175 · 6.7th percentile
Weakness
CWE-340 · Generation of Predictable Numbers or Identifiers
Published
2025-01-07T19:18Z
EPSS history
Timeline
  • 07 JAN 19:18Z
    pgAgent scheduled batch job scripts are created in a predictable temporary directory potentially allowing a denial of service
    cvelistv5