CVE-2023-39417
Postgresql: extension script @substitutions@ within quoting allow sql injection
Description
IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construct (dollar quoting, '', or ""). If an administrator has installed files of a vulnerable, trusted, non-bundled extension, an attacker with database-level CREATE privilege can execute arbitrary code as the bootstrap superuser.
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:HAttack ComplexityHigh
PR:LPrivileges RequiredLow
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:HConfidentialityHigh
I:HIntegrityHigh
A:HAvailabilityHigh
Weaknesses
Affected Products
Red Hat Inc.
commercial·USaka redhat, Red Hat
АО «НТЦ ИТ РОСА»
commercial·RU
postgresql
oss-project·USaka postgres
debian
oss-project·GBaka debian gnu/linux
ООО «Ред Софт»
commercial·RUaka red soft
АО «ИВК»
commercial·RUaka ivk
and 21 more affected products View all →
Exploitability
Official Patch Available
Workaround Available
Attack Graph
Products CVE Techniques Tactics
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
1 technique Initial Access
References
https://access.redhat.com/errata/RHSA-2023:7545
access.redhat.com
https://access.redhat.com/errata/RHSA-2023:7579
access.redhat.com
https://access.redhat.com/errata/RHSA-2023:7580
access.redhat.com
and 68 more references View all →
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2023-39417 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
