pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix priv checks for ALTER <object> DEPENDS ON EXTENSION 5+ messages / 1 participants [nested] [flat]
* pgsql: Fix priv checks for ALTER <object> DEPENDS ON EXTENSION @ 2020-02-10 15:07 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 5+ messages in thread From: Alvaro Herrera @ 2020-02-10 15:07 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix priv checks for ALTER <object> DEPENDS ON EXTENSION Marking an object as dependant on an extension did not have any privilege check whatsoever; this allowed any user to mark objects as droppable by anyone able to DROP EXTENSION, which could be used to cause system-wide havoc. Disallow by checking that the calling user owns the mentioned object. (No constraints are placed on the extension.) Security: CVE-2020-1720 Reported-by: Tom Lane Discussion: 31605.1566429043@sss.pgh.pa.us Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ac1a998ed8c535a165e7f95179ee954df075f920 Modified Files -------------- src/backend/commands/alter.c | 11 +++++++++++ 1 file changed, 11 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix priv checks for ALTER <object> DEPENDS ON EXTENSION @ 2020-02-10 15:07 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 5+ messages in thread From: Alvaro Herrera @ 2020-02-10 15:07 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix priv checks for ALTER <object> DEPENDS ON EXTENSION Marking an object as dependant on an extension did not have any privilege check whatsoever; this allowed any user to mark objects as droppable by anyone able to DROP EXTENSION, which could be used to cause system-wide havoc. Disallow by checking that the calling user owns the mentioned object. (No constraints are placed on the extension.) Security: CVE-2020-1720 Reported-by: Tom Lane Discussion: 31605.1566429043@sss.pgh.pa.us Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b048f558dd7c26a0c630a2cff29d3d8981eaf6b9 Modified Files -------------- src/backend/commands/alter.c | 11 +++++++++++ 1 file changed, 11 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix priv checks for ALTER <object> DEPENDS ON EXTENSION @ 2020-02-10 15:07 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 5+ messages in thread From: Alvaro Herrera @ 2020-02-10 15:07 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix priv checks for ALTER <object> DEPENDS ON EXTENSION Marking an object as dependant on an extension did not have any privilege check whatsoever; this allowed any user to mark objects as droppable by anyone able to DROP EXTENSION, which could be used to cause system-wide havoc. Disallow by checking that the calling user owns the mentioned object. (No constraints are placed on the extension.) Security: CVE-2020-1720 Reported-by: Tom Lane Discussion: 31605.1566429043@sss.pgh.pa.us Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/bdd19e48a8c14e4e2a5edac7a6dc23de842ccdd6 Modified Files -------------- src/backend/commands/alter.c | 11 +++++++++++ 1 file changed, 11 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix priv checks for ALTER <object> DEPENDS ON EXTENSION @ 2020-02-10 15:07 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 5+ messages in thread From: Alvaro Herrera @ 2020-02-10 15:07 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix priv checks for ALTER <object> DEPENDS ON EXTENSION Marking an object as dependant on an extension did not have any privilege check whatsoever; this allowed any user to mark objects as droppable by anyone able to DROP EXTENSION, which could be used to cause system-wide havoc. Disallow by checking that the calling user owns the mentioned object. (No constraints are placed on the extension.) Security: CVE-2020-1720 Reported-by: Tom Lane Discussion: 31605.1566429043@sss.pgh.pa.us Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2ad125322d5be8b264f2b0945d7dd23ba3ace60e Modified Files -------------- src/backend/commands/alter.c | 11 +++++++++++ 1 file changed, 11 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix priv checks for ALTER <object> DEPENDS ON EXTENSION @ 2020-02-10 15:07 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 5+ messages in thread From: Alvaro Herrera @ 2020-02-10 15:07 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix priv checks for ALTER <object> DEPENDS ON EXTENSION Marking an object as dependant on an extension did not have any privilege check whatsoever; this allowed any user to mark objects as droppable by anyone able to DROP EXTENSION, which could be used to cause system-wide havoc. Disallow by checking that the calling user owns the mentioned object. (No constraints are placed on the extension.) Security: CVE-2020-1720 Reported-by: Tom Lane Discussion: 31605.1566429043@sss.pgh.pa.us Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e8b8eb937642f56725d4bc025ea7fa57caf6992c Modified Files -------------- src/backend/commands/alter.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2020-02-10 15:07 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-02-10 15:07 pgsql: Fix priv checks for ALTER <object> DEPENDS ON EXTENSION Alvaro Herrera <alvherre@alvh.no-ip.org> 2020-02-10 15:07 pgsql: Fix priv checks for ALTER <object> DEPENDS ON EXTENSION Alvaro Herrera <alvherre@alvh.no-ip.org> 2020-02-10 15:07 pgsql: Fix priv checks for ALTER <object> DEPENDS ON EXTENSION Alvaro Herrera <alvherre@alvh.no-ip.org> 2020-02-10 15:07 pgsql: Fix priv checks for ALTER <object> DEPENDS ON EXTENSION Alvaro Herrera <alvherre@alvh.no-ip.org> 2020-02-10 15:07 pgsql: Fix priv checks for ALTER <object> DEPENDS ON EXTENSION Alvaro Herrera <alvherre@alvh.no-ip.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox