File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 41
41
42
42
<listitem>
43
43
<!--
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
+ <!--
44
79
Author: Alvaro Herrera <
[email protected] >
45
80
Branch: master [9e4f914b5] 2022-07-28 08:40:06 +0200
46
81
Branch: REL_15_STABLE [8348413db] 2022-07-28 08:26:05 +0200
You can’t perform that action at this time.
0 commit comments