GLSA 202409-02: PostgreSQL: Privilege Escalation

Опасность:высокая
Заголовок:PostgreSQL: Privilege Escalation
Дата:22.09.2024
Ошибки: #937573
ID:202409-02

Сводка

A vulnerability has been discovered in PostgreSQL, which can lead to privilege escalation.

Назначение

PostgreSQL is an open source object-relational database management system.

Уязвимые пакеты

Пакет Уязвимый Нетронутый Архитектура(ы)
dev-db/postgresql < 12.20 >= 12.20 All supported architectures

Описание

A vulnerability has been discovered in PostgreSQL. Please review the CVE identifier referenced below for details.

Воздействие

An attacker able to create and drop non-temporary objects could inject SQL code that would be executed by a concurrent pg_dump session with the privileges of the role running pg_dump (which is often a superuser). The attack involves replacing a sequence or similar object with a view or foreign table that will execute malicious code. To prevent this, introduce a new server parameter restrict_nonsystem_relation_kind that can disable expansion of non-builtin views as well as access to foreign tables, and teach pg_dump to set it when available. Note that the attack is prevented only if both pg_dump and the server it is dumping from are new enough to have this fix.

Обход

There is no known workaround at this time.

Решение

All PostgreSQL users should upgrade to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose ">=dev-db/postgresql-12.20:12"
          # emerge --ask --oneshot --verbose ">=dev-db/postgresql-13.16:13"
          # emerge --ask --oneshot --verbose ">=dev-db/postgresql-14.13:14"
          # emerge --ask --oneshot --verbose ">=dev-db/postgresql-15.8:15"
          # emerge --ask --oneshot --verbose ">=dev-db/postgresql-16.4:16"
        

Ссылки

Наличие

Этот GLSA и любые обновления для нее доступны для просмотра на сайте Gentoo Security: http://security.gentoo.org/glsa/glsa-202409-02.xml

Опасения?

Безопасность является одной из главных задач Gentoo Linux и первостепенное значение обеспечить конфиденциальность и безопасность машин наших пользователей. Любые соображения безопасности должны быть адресованы security@gentoo.org или в качестве альтернативы, вы можете сообщить об ошибке на https://bugs.gentoo.org.

Лицензия

Copyright 2010 Gentoo Foundation, Inc; текст ссылки принадлежит его владельцу(ам). Содержание этого документа распространяется на условиях лицензии Creative Commons - Attribution / Share Alike.

Спасибо!