{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-0218","assignerOrgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","state":"PUBLISHED","assignerShortName":"PostgreSQL","dateReserved":"2025-01-04T02:53:10.494Z","datePublished":"2025-01-07T19:18:02.865Z","dateUpdated":"2025-11-03T17:31:33.459Z"},"containers":{"cna":{"providerMetadata":{"orgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","shortName":"PostgreSQL","dateUpdated":"2025-01-08T17:56:00.784Z"},"title":"pgAgent scheduled batch job scripts are created in a predictable temporary directory potentially allowing a denial of service","descriptions":[{"lang":"en","value":"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."}],"affected":[{"defaultStatus":"unaffected","product":"pgAgent","vendor":"n/a","versions":[{"lessThan":"4.2.3","status":"affected","version":"4","versionType":"rpm"}]}],"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-340","type":"CWE","description":"Generation of Predictable Numbers or Identifiers"}]}],"references":[{"url":"https://github.com/pgadmin-org/pgagent/commit/1ecd193a2be3a3dc9e98f369495e1a792e6d508c"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM"}}],"configurations":[{"lang":"en","value":"attacker has permission to write to the system temporary directory"}],"workarounds":[{"lang":"en","value":"None."}],"credits":[{"lang":"en","value":"The pgAdmin project thanks Wolfgang Frisch from SUSE for reporting this problem."}]},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-01-07T20:58:35.591893Z","id":"CVE-2025-0218","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-01-07T20:58:49.396Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00018.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T17:31:33.459Z"}}]}}