{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-5002","assignerOrgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","state":"PUBLISHED","assignerShortName":"fedora","dateReserved":"2023-09-15T16:22:28.547Z","datePublished":"2023-09-22T13:31:43.124Z","dateUpdated":"2024-08-02T07:44:53.739Z"},"containers":{"cna":{"title":"Pgadmin4: remote code execution by an authenticated user","metrics":[{"other":{"content":{"value":"Moderate","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H","version":"3.1"},"format":"CVSS"}],"descriptions":[{"lang":"en","value":"A flaw was found in pgAdmin. This issue occurs when the pgAdmin server HTTP API validates the path a user selects to external PostgreSQL utilities such as pg_dump and pg_restore. Versions of pgAdmin prior to 7.6 failed to properly control the server code executed on this API, allowing an authenticated user to run arbitrary commands on the server."}],"affected":[{"versions":[{"status":"unaffected","version":"7.7","lessThan":"*","versionType":"custom"}],"packageName":"pgadmin4","collectionURL":"https://github.com/pgadmin-org/pgadmin4"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2239164","name":"RHBZ#2239164","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/pgadmin-org/pgadmin4/issues/6763"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2S24D3S2GVNGTDNE6SF2OQSOPU3H72UW/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VIRTMQZEE6K7RD37ERZ2UFYFLEUXLQU3/"}],"datePublic":"2023-09-21T00:00:00.000Z","problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}]}],"x_redhatCweChain":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","timeline":[{"lang":"en","time":"2023-09-13T00:00:00.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2023-09-21T00:00:00.000Z","value":"Made public."}],"providerMetadata":{"orgId":"92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5","shortName":"fedora","dateUpdated":"2024-04-19T13:43:46.842Z"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2023-5002","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2024-05-14T16:28:49.140419Z"}}}],"affected":[{"cpes":["cpe:2.3:a:pgadmin:pgadmin:-:*:*:*:*:postgresql:*:*"],"vendor":"pgadmin","product":"pgadmin","versions":[{"status":"affected","version":"0","lessThan":"7.6","versionType":"custom"}],"defaultStatus":"unknown"}],"providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-04T17:28:36.879Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T07:44:53.739Z"},"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2239164","name":"RHBZ#2239164","tags":["issue-tracking","x_refsource_REDHAT","x_transferred"]},{"url":"https://github.com/pgadmin-org/pgadmin4/issues/6763","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2S24D3S2GVNGTDNE6SF2OQSOPU3H72UW/","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VIRTMQZEE6K7RD37ERZ2UFYFLEUXLQU3/","tags":["x_transferred"]}]}]}}