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.
Published: 2025-01-07
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Workaround

None.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4338-1 pgagent security update
EUVD EUVD EUVD-2025-1553 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.
History

Mon, 03 Nov 2025 18:30:00 +0000

Type Values Removed Values Added
References

Tue, 11 Feb 2025 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Pgadmin
Pgadmin pgagent
Weaknesses CWE-330
CPEs cpe:2.3:a:pgadmin:pgagent:*:*:*:*:*:postgresql:*:*
Vendors & Products Pgadmin
Pgadmin pgagent

Tue, 07 Jan 2025 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 07 Jan 2025 19:30:00 +0000

Type Values Removed Values Added
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.
Title pgAgent scheduled batch job scripts are created in a predictable temporary directory potentially allowing a denial of service
Weaknesses CWE-340
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published:

Updated: 2025-11-03T17:31:33.459Z

Reserved: 2025-01-04T02:53:10.494Z

Link: CVE-2025-0218

cve-icon Vulnrichment

Updated: 2025-11-03T17:31:33.459Z

cve-icon NVD

Status : Modified

Published: 2025-01-07T20:15:30.710

Modified: 2025-11-03T18:15:46.017

Link: CVE-2025-0218

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses