pgAgent
pgAgent scheduled batch job scripts are created in a predictable temporary directory potentially allowing a denial of service
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by NVD · CWE-340
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
n/a pgAgent
- >= 4, < 4.2.3
Fixed in 4.2.3
Mitigation
Upgrade pgAgent to 4.2.3 or later.
Workaround
None.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.