diff options
author | Matthew Seaman <matthew@FreeBSD.org> | 2021-06-06 20:48:56 +0000 |
---|---|---|
committer | Matthew Seaman <matthew@FreeBSD.org> | 2021-06-06 20:48:56 +0000 |
commit | ef3b8b2cfe595e9d2ade55206497199382ef6046 (patch) | |
tree | 7661bb023c1cc09cb4733804e4517c6a0f7a7ff2 | |
parent | c2f7da2a89ec7bab27dd6b8ab5e2936024a7b3d1 (diff) |
security/vuxml: Document CVE-2021-3515 for databases/pglogical
A shell injection flaw was found in pglogical in versions before 2.3.4
and before 3.6.26. An attacker with CREATEDB privileges on a
PostgreSQL server can craft a database name that allows execution of
shell commands as the postgresql user when calling
pglogical.create_subscription().
-rw-r--r-- | security/vuxml/vuln.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/security/vuxml/vuln.xml b/security/vuxml/vuln.xml index b6a438010fe1..3addf0844167 100644 --- a/security/vuxml/vuln.xml +++ b/security/vuxml/vuln.xml @@ -76,6 +76,43 @@ Notes: * Do not forget port variants (linux-f10-libxml2, libxml2, etc.) --> <vuxml xmlns="http://www.vuxml.org/apps/vuxml-1"> + <vuln vid="45b8716b-c707-11eb-b9a0-6805ca0b3d42"> + <topic>pglogical -- shell command injection in pglogical.create_subscription()</topic> + <affects> + <package> + <name>pglogical</name> + <range><lt>2.3.4</lt></range> + </package> + </affects> + <description> + <body xmlns="http://www.w3.org/1999/xhtml"> + <p>2ndQuadrant reports:</p> + <blockquote cite="https://github.com/2ndQuadrant/pglogical/releases/tag/REL2_3_4"> + <ul> + <li> + Fix pg_dump/pg_restore execution (CVE-2021-3515)<br /> + <br /> + Correctly escape the connection string for both pg_dump + and pg_restore so that exotic database and user names are + handled correctly.<br /> + <br /> + Reported by Pedro Gallegos + </li> + </ul> + </blockquote> + </body> + </description> + <references> + <cvename>CVE-2021-3515</cvename> + <url>https://github.com/2ndQuadrant/pglogical/releases/tag/REL2_3_4</url> + <url>https://bugzilla.redhat.com/show_bug.cgi?id=1954112</url> + </references> + <dates> + <discovery>2021-06-01</discovery> + <entry>2021-06-06</entry> + </dates> + </vuln> + <vuln vid="f70ab05e-be06-11eb-b983-000c294bb613"> <topic>drupal7 -- fix possible CSS</topic> <affects> |