Debian dla-4338 : pgagent - security update

high Nessus Plugin ID 270761

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 11 host has a package installed that is affected by a vulnerability as referenced in the dla-4338 advisory.

------------------------------------------------------------------------- Debian LTS Advisory DLA-4338-1 [email protected] https://www.debian.org/lts/security/ Andreas Henriksson October 18, 2025 https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package : pgagent Version : 4.0.0-8+deb11u1 CVE ID : CVE-2025-0218 Debian Bug : 1092677

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.

For Debian 11 bullseye, this problem has been fixed in version 4.0.0-8+deb11u1.

We recommend that you upgrade your pgagent packages.

For the detailed security status of pgagent please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/pgagent

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS Attachment:
signature.asc Description: PGP signature

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the pgagent packages.

See Also

https://security-tracker.debian.org/tracker/source-package/pgagent

https://security-tracker.debian.org/tracker/CVE-2025-0218

https://packages.debian.org/source/bullseye/pgagent

Plugin Details

Severity: High

ID: 270761

File Name: debian_DLA-4338.nasl

Version: 1.1

Type: local

Agent: unix

Published: 10/18/2025

Updated: 10/18/2025

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:C/A:C

CVSS Score Source: CVE-2025-0218

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.2

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:pgagent

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 10/18/2025

Vulnerability Publication Date: 1/7/2025

Reference Information

CVE: CVE-2025-0218