CVE-2025-0218

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductPgadmin Pgagent
PublishedJan 7, 2025
First seenJan 7, 2025
Weakness typeCWE-340CWE-340

How to fix

Update
  • pgadmin pgagent4.2.3 or later

Affected products

ProductAffected versionsFixed in
pgadmin pgagentv < 4.2.34.2.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.