git: ef3b8b2cfe59 - main - security/vuxml: Document CVE-2021-3515 for databases/pglogical

Matthew Seaman matthew at FreeBSD.org
Sun Jun 6 20:51:04 UTC 2021


The branch main has been updated by matthew:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ef3b8b2cfe595e9d2ade55206497199382ef6046

commit ef3b8b2cfe595e9d2ade55206497199382ef6046
Author:     Matthew Seaman <matthew at FreeBSD.org>
AuthorDate: 2021-06-06 20:48:56 +0000
Commit:     Matthew Seaman <matthew at FreeBSD.org>
CommitDate: 2021-06-06 20:48:56 +0000

    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().
---
 security/vuxml/vuln.xml | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

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>


More information about the dev-commits-ports-main mailing list