124 Star 3 Fork 41

src-openEuler/postgresql

CVE-2024-10978

已完成
CVE和安全问题 拥有者
创建于  
2024-11-14 21:44

一、漏洞信息
漏洞编号:CVE-2024-10978
漏洞归属组件:postgresql
漏洞归属的版本:10.23,10.5,13.11,13.12,13.13,13.3,14.8,15.4,15.5,15.6,42.2.14
CVSS V3.0分值:
BaseScore:4.2 Medium
Vector:CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
漏洞简述:
Incorrect privilege assignment in PostgreSQL allows a less-privileged application user to view or change different rows from those intended. An attack requires the application to use SET ROLE, SET SESSION AUTHORIZATION, or an equivalent feature. The problem arises when an application query uses parameters from the attacker or conveys query results to the attacker. If that query reacts to current_setting( role ) or the current user ID, it may modify or return data as though the session had not used SET ROLE or SET SESSION AUTHORIZATION. The attacker does not control which incorrect user ID applies. Query text from less-privileged sources is not a concern here, because SET ROLE and SET SESSION AUTHORIZATION are not sandboxes for unvetted queries. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.
漏洞公开时间:2024-11-14 21:15:04
漏洞创建时间:2024-11-14 21:44:47
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2024-10978

更多参考(点击展开)
参考来源 参考链接 来源链接
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 https://www.postgresql.org/support/security/CVE-2024-10978/
debian https://security-tracker.debian.org/tracker/CVE-2024-10978
postgrepsql https://www.postgresql.org//support/security/CVE-2024-10978/ https://www.postgresql.org//support/security/CVE-2024-10978/
postgrepsql https://www.postgresql.org/about/news/postgresql-171-165-159-1414-1317-and-1221-released-2955/ https://www.postgresql.org//support/security/CVE-2024-10978/
amazon_linux_explore https://access.redhat.com/security/cve/CVE-2024-10978 https://explore.alas.aws.amazon.com/CVE-2024-10978.html
amazon_linux_explore https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-10978 https://explore.alas.aws.amazon.com/CVE-2024-10978.html

漏洞分析指导链接:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
openBrain开源漏洞感知系统
漏洞补丁信息:

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=cd82afdda5e9d3269706a142e9093ba83f484185 debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=f4f5d27d87247da1ec7e5a6e7990a22ffba9f63a debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=1c05004a895308da10ec000ba6b92f72f4f5b8e2 debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=ae340d0318521ae7234ed3b7221a1f65f39a52c0 debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=95f5a523729f6814c8757860d9a2264148b7b0df debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=b0918c1286d316f6ffa93995452270afd4fc4335 debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=a5d2e6205f716c79ecfb15eb1aae75bae3f8daa9 debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=109a323807d752f66699a9ce0762244f536e784f debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=edf80895f6bda824403f843df91cbc83890e4b6c debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=2a68808e241bf667ff72c31ea9d0c4eb0b893982 debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=00b94e8e2f99a8ed1d7f854838234ce37f582da0 debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=be062bfa54d780c07a3b36c4123da2c960c8e97d debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=76123ded6e9b3624e380ac326645bd026aacd2f5 debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=dc7378793add3c3d9a40ec2118d92bd719acab97 debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=07c6e0f613612ff060572a085c1c24aa44c8b2bb debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=4c9d96f74ba4e7d01c086ca54f217e242dd65fae debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=0edad8654848affe0786c798aea9e1a43dde54bc debian
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=c463338656ac47e5210fcf9fbf7d20efccce8de8 debian

二、漏洞分析结构反馈
影响性分析说明:
Incorrect privilege assignment in PostgreSQL allows a less-privileged application user to view or change different rows from those intended. An attack requires the application to use SET ROLE, SET SESSION AUTHORIZATION, or an equivalent feature. The problem arises when an application query uses parameters from the attacker or conveys query results to the attacker. If that query reacts to current_setting( role ) or the current user ID, it may modify or return data as though the session had not used SET ROLE or SET SESSION AUTHORIZATION. The attacker does not control which incorrect user ID applies. Query text from less-privileged sources is not a concern here, because SET ROLE and SET SESSION AUTHORIZATION are not sandboxes for unvetted queries.
openEuler评分:
4.2
Vector:CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
受影响版本排查(受影响/不受影响):
1.master(15.6):受影响
2.openEuler-22.03-LTS-SP1(13.12):受影响
3.openEuler-22.03-LTS-SP3(13.13):受影响
4.openEuler-22.03-LTS-SP4(13.13):受影响
5.openEuler-24.03-LTS(15.6):受影响
6.openEuler-24.03-LTS-Next(15.6):受影响
7.openEuler-24.03-LTS-SP1:受影响
8.openEuler-20.03-LTS-SP4(10.23):不受影响

修复是否涉及abi变化(是/否):
1.master(15.6):否
2.openEuler-20.03-LTS-SP4(10.23):否
3.openEuler-22.03-LTS-SP1(13.12):否
4.openEuler-22.03-LTS-SP3(13.13):否
5.openEuler-22.03-LTS-SP4(13.13):否
6.openEuler-24.03-LTS(15.6):否
7.openEuler-24.03-LTS-SP1:否
8.openEuler-24.03-LTS-Next(15.6):否

原因说明:
1.master(15.6):正常修复
2.openEuler-22.03-LTS-SP1(13.12):正常修复
3.openEuler-22.03-LTS-SP3(13.13):正常修复
4.openEuler-22.03-LTS-SP4(13.13):正常修复
5.openEuler-24.03-LTS(15.6):正常修复
6.openEuler-24.03-LTS-Next(15.6):正常修复
7.openEuler-24.03-LTS-SP1:正常修复
8.openEuler-20.03-LTS-SP4(10.23):不受影响-组件不存在

三、漏洞修复
安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2024-2469

评论 (13)

openeuler-ci-bot 创建了CVE和安全问题 7个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
7个月前
展开全部操作日志
openeuler-ci-bot 添加了
 
sig/DB
标签
7个月前

影响性分析说明:
Incorrect privilege assignment in PostgreSQL allows a less-privileged application user to view or change different rows from those intended. An attack requires the application to use SET ROLE, SET SESSION AUTHORIZATION, or an equivalent feature. The problem arises when an application query uses parameters from the attacker or conveys query results to the attacker. If that query reacts to current_setting('role') or the current user ID, it may modify or return data as though the session had not used SET ROLE or SET SESSION AUTHORIZATION. The attacker does not control which incorrect user ID applies. Query text from less-privileged sources is not a concern here, because SET ROLE and SET SESSION AUTHORIZATION are not sandboxes for unvetted queries.

openEuler评分:
4.2
AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

受影响版本排查(受影响/不受影响):
1.master(15.6):受影响
2.openEuler-20.03-LTS-SP4(10.23):不受影响
3.openEuler-22.03-LTS-SP1(13.12):受影响
4.openEuler-22.03-LTS-SP3(13.13):受影响
5.openEuler-22.03-LTS-SP4(13.13):受影响
6.openEuler-24.03-LTS(15.6):受影响
7.openEuler-24.03-LTS-Next(15.6):受影响

修复是否涉及abi变化(是/否):
1.master(15.6):否
2.openEuler-20.03-LTS-SP4(10.23):否
3.openEuler-22.03-LTS-SP1(13.12):否
4.openEuler-22.03-LTS-SP3(13.13):否
5.openEuler-22.03-LTS-SP4(13.13):否
6.openEuler-24.03-LTS(15.6):否
7.openEuler-24.03-LTS-Next(15.6):否

原因说明:
1.master(15.6):正常修复
2.openEuler-20.03-LTS-SP4(10.23):不受影响-组件不存在
3.openEuler-22.03-LTS-SP1(13.12):正常修复
4.openEuler-22.03-LTS-SP3(13.13):正常修复
5.openEuler-22.03-LTS-SP4(13.13):正常修复
6.openEuler-24.03-LTS(15.6):正常修复
7.openEuler-24.03-LTS-Next(15.6):正常修复

openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 计划开始日期设置为2024-11-15 7个月前
openeuler-ci-bot 计划截止日期设置为2024-12-15 7个月前
openeuler-ci-bot 优先级设置为次要 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
Funda Wang 通过合并 Pull Request !122: Update to version 15.9任务状态待办的 修改为已完成 7个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 7个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
7个月前
openeuler-ci-bot 移除了
 
sig/DB
标签
7个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
7个月前
openeuler-ci-bot 添加了
 
sig/DB
标签
7个月前
Funda Wang 通过合并 Pull Request !123: Update to version 13.17任务状态待办的 修改为已完成 7个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 7个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
7个月前
openeuler-ci-bot 移除了
 
sig/DB
标签
7个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
7个月前
openeuler-ci-bot 添加了
 
sig/DB
标签
7个月前

受影响版本排查(受影响/不受影响):
1.master(15.6):受影响
2.openEuler-22.03-LTS-SP1(13.12):受影响
3.openEuler-22.03-LTS-SP3(13.13):受影响
4.openEuler-22.03-LTS-SP4(13.13):受影响
5.openEuler-24.03-LTS(15.6):受影响
6.openEuler-24.03-LTS-Next(15.6):受影响
7.openEuler-24.03-LTS-SP1(15.6):受影响
8.openEuler-20.03-LTS-SP4(10.23):不受影响

修复是否涉及abi变化(是/否):
1.master(15.6):否
2.openEuler-20.03-LTS-SP4(10.23):否
3.openEuler-22.03-LTS-SP1(13.12):否
4.openEuler-22.03-LTS-SP3(13.13):否
5.openEuler-22.03-LTS-SP4(13.13):否
6.openEuler-24.03-LTS(15.6):否
7.openEuler-24.03-LTS-SP1(15.6):否
8.openEuler-24.03-LTS-Next(15.6):否

原因说明:
1.master(15.6):正常修复
2.openEuler-22.03-LTS-SP1(13.12):正常修复
3.openEuler-22.03-LTS-SP3(13.13):正常修复
4.openEuler-22.03-LTS-SP4(13.13):正常修复
5.openEuler-24.03-LTS(15.6):正常修复
6.openEuler-24.03-LTS-Next(15.6):正常修复
7.openEuler-24.03-LTS-SP1(15.6):正常修复
8.openEuler-20.03-LTS-SP4(10.23):不受影响-组件不存在

openeuler-ci-bot 修改了描述 7个月前
openeuler-sync-bot 通过合并 Pull Request !124: [sync] PR-122: Update to version 15.9任务状态待办的 修改为已完成 7个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 7个月前
openeuler-sync-bot 通过合并 Pull Request !129: [sync] PR-122: Update to version 15.9任务状态待办的 修改为已完成 7个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
7个月前
openeuler-ci-bot 移除了
 
sig/DB
标签
7个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
7个月前
openeuler-ci-bot 添加了
 
sig/DB
标签
7个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 7个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
7个月前
openeuler-ci-bot 移除了
 
sig/DB
标签
7个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
7个月前
openeuler-ci-bot 添加了
 
sig/DB
标签
7个月前
openeuler-sync-bot 通过合并 Pull Request !128: [sync] PR-123: Update to version 13.17任务状态待办的 修改为已完成 7个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 7个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
7个月前
openeuler-ci-bot 移除了
 
sig/DB
标签
7个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
7个月前
openeuler-ci-bot 添加了
 
sig/DB
标签
7个月前
openeuler-sync-bot 通过合并 Pull Request !127: [sync] PR-122: Update to version 15.9任务状态待办的 修改为已完成 7个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 7个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
7个月前
openeuler-ci-bot 移除了
 
sig/DB
标签
7个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
7个月前
openeuler-ci-bot 添加了
 
sig/DB
标签
7个月前
openeuler-sync-bot 通过合并 Pull Request !126: [sync] PR-123: Update to version 13.17任务状态待办的 修改为已完成 7个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 7个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
7个月前
openeuler-ci-bot 移除了
 
sig/DB
标签
7个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
7个月前
openeuler-ci-bot 添加了
 
sig/DB
标签
7个月前
openeuler-sync-bot 通过合并 Pull Request !125: [sync] PR-122: Update to version 15.9任务状态待办的 修改为已完成 7个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
7个月前
openeuler-ci-bot 移除了
 
sig/DB
标签
7个月前
openeuler-ci-bot 添加了
 
CVE/FIXED
标签
7个月前
openeuler-ci-bot 添加了
 
sig/DB
标签
7个月前
openeuler-ci-bot 修改了描述 7个月前

登录 后才可以发表评论

状态
负责人
项目
预计工期 (小时)
开始日期   -   截止日期
-
置顶选项
优先级
里程碑
分支
参与者(2)
5329419 openeuler ci bot 1632792936 Funda Wang-fundawang
1
https://gitee.com/src-openeuler/postgresql.git
git@gitee.com:src-openeuler/postgresql.git
src-openeuler
postgresql
postgresql

搜索帮助