跳转到帖子

PostgreSQL: CVE-2023-2455: Row security policies disregard user ID changes after inlining

recommended_posts

发布于
  • Members

PostgreSQL: CVE-2023-2455: Row security policies disregard user ID changes after inlining

Severity
6
CVSS
(AV:N/AC:L/Au:S/C:P/I:P/A:N)
Published
05/12/2023
Created
05/12/2023
Added
05/12/2023
Modified
01/28/2025

Description

Row security policies disregard user ID changes after inlining; PostgreSQL could permit incorrect policies to be applied in certain cases where role-specific policies are used and a given query is planned under one role and then executed under other roles. This scenario can happen under security definer functions or when a common user and query is planned initially and then re-used across multiple SET ROLEs. Applying an incorrect policy may permit a user to complete otherwise-forbidden reads and modifications. This affects only databases that have used CREATE POLICY to define a row security policy.

Solution(s)

  • postgres-upgrade-13_11
  • postgres-upgrade-14_8
  • postgres-upgrade-15_3

References

  • https://attackerkb.com/topics/cve-2023-2455
  • CVE - 2023-2455
  • 查看数 697
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。
注意:你的帖子需要版主批准后才能看到。

游客
回帖…