1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

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().
This commit is contained in:
Matthew Seaman 2021-06-06 21:48:56 +01:00
parent c2f7da2a89
commit ef3b8b2cfe

View File

@ -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>