When batch jobs are executed by pgAgent, a script is...
Moderate severity
Unreviewed
Published
Jan 7, 2025
to the GitHub Advisory Database
•
Updated Jan 7, 2025
Description
Published by the National Vulnerability Database
Jan 7, 2025
Published to the GitHub Advisory Database
Jan 7, 2025
Last updated
Jan 7, 2025
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.
References