CVEvulnerability

CVE-2025-0218

7.1 HIGH Published 2025-01-07 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2025-01-07
Last modified
2026-06-17
Assigner
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS 3.1 (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007)
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1 ([email protected])
7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Weaknesses
CWE-330, CWE-340

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.

Affected configurations

• pgadmin pgagent (< 4.2.3)

Related

Weakness · CWE (2)

  • CWE-330 Use of Insufficiently Random Values weakness
  • CWE-340 Generation of Predictable Numbers or Identifiers weakness

References