@zhengzhenyu ,@dillon_chen ,@nick-slg-kylin ,@XIE-JING-2022
issue处理注意事项:
1. 当前issue受影响的分支提交pr时, 须在pr描述中填写当前issue编号进行关联, 否则无法关闭当前issue;
2. 模板内容需要填写完整, 无论是受影响或者不受影响都需要填写完整内容,未引入的分支不需要填写, 否则无法关闭当前issue;
3. 以下为模板中需要填写完整的内容, 请复制到评论区回复, 注: 内容的标题名称(影响性分析说明, openEuler评分, 受影响版本排查(受影响/不受影响), 修复是否涉及abi变化(是/否))不能省略,省略后cve-manager将无法正常解析填写内容.
影响性分析说明:
openEuler评分: (评分和向量)
受影响版本排查(受影响/不受影响):
1.master(14.8):
2.openEuler-20.03-LTS-SP1(10.5):
3.openEuler-20.03-LTS-SP4(10.5):
4.openEuler-22.03-LTS(13.12):
5.openEuler-22.03-LTS-Next(13.13):
6.openEuler-22.03-LTS-SP1(13.12):
7.openEuler-22.03-LTS-SP2(13.12):
8.openEuler-22.03-LTS-SP3(13.13):
9.openEuler-24.03-LTS:
10.openEuler-24.03-LTS-Next:
修复是否涉及abi变化(是/否):
1.master(14.8):
2.openEuler-20.03-LTS-SP1(10.5):
3.openEuler-20.03-LTS-SP4(10.5):
4.openEuler-22.03-LTS(13.12):
5.openEuler-22.03-LTS-Next(13.13):
6.openEuler-22.03-LTS-SP1(13.12):
7.openEuler-22.03-LTS-SP2(13.12):
8.openEuler-22.03-LTS-SP3(13.13):
9.openEuler-24.03-LTS:
10.openEuler-24.03-LTS-Next:
issue处理具体操作请参考:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
pr关联issue具体操作请参考:
https://gitee.com/help/articles/4142


| 参考网址 | 关联pr | 状态 | 补丁链接 |
|---|---|---|---|
| https://nvd.nist.gov/vuln/detail/CVE-2024-4317 | |||
| https://ubuntu.com/security/CVE-2024-4317 | None | None | https://discourse.ubuntu.com/c/ubuntu-pro |
| https://www.opencve.io/cve/CVE-2024-4317 | |||
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2024-4317 | |||
| https://security-tracker.debian.org/tracker/CVE-2024-4317 |
说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用CVE补丁工具。
若补丁不准确,烦请在此issue下评论 '/report-patch 参考网址 补丁链接1,补丁链接2' 反馈正确信息,便于我们不断优化工具,不胜感激。
如 /report-patch https://security-tracker.debian.org/tracker/CVE-2021-3997 https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1


| 参考网址 | 关联pr | 状态 | 补丁链接 |
|---|---|---|---|
| https://nvd.nist.gov/vuln/detail/2024-4317 | |||
| https://www.opencve.io/cve/2024-4317 | |||
| https://security-tracker.debian.org/tracker/2024-4317 | |||
| https://bugzilla.redhat.com/show_bug.cgi?id=2024-4317 | |||
| https://ubuntu.com/security/2024-4317 | None | None | https://discourse.ubuntu.com/c/ubuntu-pro |
说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用CVE补丁工具。
若补丁不准确,烦请在此issue下评论 '/report-patch 参考网址 补丁链接1,补丁链接2' 反馈正确信息,便于我们不断优化工具,不胜感激。
如 /report-patch https://security-tracker.debian.org/tracker/CVE-2021-3997 https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1


影响性分析说明:
Missing authorization in PostgreSQL built-in views pg_stats_ext and pg_stats_ext_exprs allows an unprivileged database user to read most common values and other statistics from CREATE STATISTICS commands of other users. The most common values may reveal column values the eavesdropper could not otherwise read or results of functions they cannot execute. Installing an unaffected version only fixes fresh PostgreSQL installations, namely those that are created with the initdb utility after installing that version. Current PostgreSQL installations will remain vulnerable until they follow the instructions in the release notes, which are provided as a convenience in the below section. Within major versions 14-16, minor versions before PostgreSQL 16.3, 15.7, and 14.12 are affected. Versions before PostgreSQL 14 are unaffected.
openEuler评分:
4.3
Vector:CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
受影响版本排查(受影响/不受影响):
1.master:受影响
2.openEuler-20.03-LTS-SP4(13.20):不受影响
3.openEuler-22.03-LTS-SP3:不受影响
4.openEuler-22.03-LTS-SP4:不受影响
5.openEuler-24.03-LTS:受影响
6.openEuler-24.03-LTS-Next:受影响
7.openEuler-24.03-LTS-SP1:受影响
修复是否涉及abi变化(是/否):
1.master:否
2.openEuler-20.03-LTS-SP4(13.20):否
3.openEuler-22.03-LTS-SP3:否
4.openEuler-22.03-LTS-SP4:否
5.openEuler-24.03-LTS:否
6.openEuler-24.03-LTS-Next:否
7.openEuler-24.03-LTS-SP1:否
原因说明:
1.master:正常修复
2.openEuler-20.03-LTS-SP4(13.20):不受影响-组件不存在
3.openEuler-22.03-LTS-SP3:不受影响-组件不存在
4.openEuler-22.03-LTS-SP4:不受影响-组件不存在
5.openEuler-24.03-LTS:正常修复
6.openEuler-24.03-LTS-Next:不受影响-组件不存在
7.openEuler-24.03-LTS-SP1:不受影响-组件不存在


@fundawang 受影响/不受影响和原因分析不匹配,分支: [openEuler-24.03-LTS-Next openEuler-24.03-LTS-SP1]


@xicoding 经过 cve-manager 解析, 已分析的内容如下表所示:
| 状态 | 分析项目 | 内容 |
|---|---|---|
| 已分析 | 1.影响性分析说明 | Missing authorization in PostgreSQL built-in views pg_stats_ext and pg_stats_ext_exprs allows an unprivileged database user to read most common values and other statistics from CREATE STATISTICS commands of other users. The most common values may reveal column values the eavesdropper could not otherwise read or results of functions they cannot execute. Installing an unaffected version only fixes fresh PostgreSQL installations, namely those that are created with the initdb utility after installing that version. Current PostgreSQL installations will remain vulnerable until they follow the instructions in the release notes, which are provided as a convenience in the below section. Within major versions 14-16, minor versions before PostgreSQL 16.3, 15.7, and 14.12 are affected. Versions before PostgreSQL 14 are unaffected. |
| 已分析 | 2.openEulerScore | 4.3 |
| 已分析 | 3.openEulerVector | AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| 已分析 | 4.受影响版本排查 | master:受影响,openEuler-24.03-LTS:受影响,openEuler-24.03-LTS-Next:受影响,openEuler-24.03-LTS-SP1:受影响,openEuler-20.03-LTS-SP4:不受影响,openEuler-22.03-LTS-SP3:不受影响,openEuler-22.03-LTS-SP4:不受影响 |
| 已分析 | 5.是否涉及abi变化 | master:否,openEuler-20.03-LTS-SP4:否,openEuler-22.03-LTS-SP3:否,openEuler-22.03-LTS-SP4:否,openEuler-24.03-LTS:否,openEuler-24.03-LTS-Next:否,openEuler-24.03-LTS-SP1:否 |
| 已分析 | 6.原因说明 | master:正常修复,openEuler-24.03-LTS:正常修复,openEuler-24.03-LTS-Next:正常修复,openEuler-24.03-LTS-SP1:正常修复,openEuler-20.03-LTS-SP4:不受影响-组件不存在,openEuler-22.03-LTS-SP3:不受影响-组件不存在,openEuler-22.03-LTS-SP4:不受影响-组件不存在 |
请确认分析内容的准确性, 确认无误后, 您可以进行后续步骤, 否则您可以继续分析.


一、漏洞信息
漏洞编号:CVE-2024-4317
漏洞归属组件:postgresql
漏洞归属的版本:10.23,10.5,13.12,13.13,13.18,13.19,13.20,13.3,15.10,15.11,15.12,15.4,15.9,42.2.14
CVSS V3.0分值:
BaseScore:4.3 Medium
Vector:CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
漏洞简述:
Missing authorization in PostgreSQL built-in views pg_stats_ext and pg_stats_ext_exprs allows an unprivileged database user to read most common values and other statistics from CREATE STATISTICS commands of other users. The most common values may reveal column values the eavesdropper could not otherwise read or results of functions they cannot execute. Installing an unaffected version only fixes fresh PostgreSQL installations, namely those that are created with the initdb utility after installing that version. Current PostgreSQL installations will remain vulnerable until they follow the instructions in the release notes. Within major versions 14-16, minor versions before PostgreSQL 16.3, 15.7, and 14.12 are affected. Versions before PostgreSQL 14 are unaffected.
漏洞公开时间:2024-05-14 23:43:16
漏洞创建时间:2024-05-09 13:41:08
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2024-4317
更多参考(点击展开)
漏洞分析指导链接:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
其它
漏洞补丁信息:
详情(点击展开)
二、漏洞分析结构反馈
影响性分析说明:
Missing authorization in PostgreSQL built-in views pg_stats_ext and pg_stats_ext_exprs allows an unprivileged database user to read most common values and other statistics from CREATE STATISTICS commands of other users. The most common values may reveal column values the eavesdropper could not otherwise read or results of functions they cannot execute. Installing an unaffected version only fixes fresh PostgreSQL installations, namely those that are created with the initdb utility after installing that version. Current PostgreSQL installations will remain vulnerable until they follow the instructions in the release notes, which are provided as a convenience in the below section. Within major versions 14-16, minor versions before PostgreSQL 16.3, 15.7, and 14.12 are affected. Versions before PostgreSQL 14 are unaffected.
openEuler评分:
4.3
Vector:CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
受影响版本排查(受影响/不受影响):
1.master(15.12):受影响
2.openEuler-24.03-LTS(15.12):受影响
3.openEuler-24.03-LTS-Next(15.12):受影响
4.openEuler-24.03-LTS-SP1(15.12):受影响
5.openEuler-20.03-LTS-SP4(10.23):不受影响
6.openEuler-22.03-LTS-SP3(13.20):不受影响
7.openEuler-22.03-LTS-SP4(13.20):不受影响
8.openEuler-24.03-LTS-SP2(15.12):
修复是否涉及abi变化(是/否):
1.master(15.12):否
2.openEuler-20.03-LTS-SP4(10.23):否
3.openEuler-22.03-LTS-SP3(13.20):否
4.openEuler-22.03-LTS-SP4(13.20):否
5.openEuler-24.03-LTS(15.12):否
6.openEuler-24.03-LTS-Next(15.12):否
7.openEuler-24.03-LTS-SP1(15.12):否
8.openEuler-24.03-LTS-SP2(15.12):
原因说明:
1.master(15.12):正常修复
2.openEuler-24.03-LTS(15.12):正常修复
3.openEuler-24.03-LTS-Next(15.12):正常修复
4.openEuler-24.03-LTS-SP1(15.12):正常修复
5.openEuler-20.03-LTS-SP4(10.23):不受影响-组件不存在
6.openEuler-22.03-LTS-SP3(13.20):不受影响-组件不存在
7.openEuler-22.03-LTS-SP4(13.20):不受影响-组件不存在
8.openEuler-24.03-LTS-SP2(15.12):