Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cd1aef2

Browse files
committed
Last-minute updates for release notes.
Security: CVE-2022-2625
1 parent 5919bb5 commit cd1aef2

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

doc/src/sgml/release-10.sgml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,41 @@
4141

4242
<listitem>
4343
<!--
44+
Author: Tom Lane <[email protected]>
45+
Branch: master [b9b21acc7] 2022-08-08 11:12:31 -0400
46+
Branch: REL_15_STABLE [cc7e0feba] 2022-08-08 11:12:31 -0400
47+
Branch: REL_14_STABLE [5721da7e4] 2022-08-08 11:12:31 -0400
48+
Branch: REL_13_STABLE [7e92f78ab] 2022-08-08 11:12:31 -0400
49+
Branch: REL_12_STABLE [5579726bd] 2022-08-08 11:12:31 -0400
50+
Branch: REL_11_STABLE [f52d2fbd8] 2022-08-08 11:12:31 -0400
51+
Branch: REL_10_STABLE [5919bb5a5] 2022-08-08 11:12:31 -0400
52+
-->
53+
<para>
54+
Do not let extension scripts replace objects not already belonging
55+
to the extension (Tom Lane)
56+
</para>
57+
58+
<para>
59+
This change prevents extension scripts from doing <command>CREATE
60+
OR REPLACE</command> if there is an existing object that does not
61+
belong to the extension. It also prevents <command>CREATE IF NOT
62+
EXISTS</command> in the same situation. This prevents a form of
63+
trojan-horse attack in which a hostile database user could become
64+
the owner of an extension object and then modify it to compromise
65+
future uses of the object by other users. As a side benefit, it
66+
also reduces the risk of accidentally replacing objects one did
67+
not mean to.
68+
</para>
69+
70+
<para>
71+
The <productname>PostgreSQL</productname> Project thanks
72+
Sven Klemm for reporting this problem.
73+
(CVE-2022-2625)
74+
</para>
75+
</listitem>
76+
77+
<listitem>
78+
<!--
4479
Author: Alvaro Herrera <[email protected]>
4580
Branch: master [9e4f914b5] 2022-07-28 08:40:06 +0200
4681
Branch: REL_15_STABLE [8348413db] 2022-07-28 08:26:05 +0200

0 commit comments

Comments
 (0)