124 Star 3 Fork 41

src-openEuler/postgresql

CVE-2025-1094

已完成
CVE和安全问题 拥有者
创建于  
2025-02-13 21:48

一、漏洞信息
漏洞编号:CVE-2025-1094
漏洞归属组件:postgresql
漏洞归属的版本:10.23,10.5,13.12,13.13,13.18,13.19,13.3,15.10,15.11,15.4,15.9,42.2.14
CVSS V3.0分值:
BaseScore:8.1 High
Vector:CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
漏洞简述:
Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() allows a database input provider to achieve SQL injection in certain usage patterns. Specifically, SQL injection requires the application to use the function result to construct input to psql, the PostgreSQL interactive terminal. Similarly, improper neutralization of quoting syntax in PostgreSQL command line utility programs allows a source of command line arguments to achieve SQL injection when client_encoding is BIG5 and server_encoding is one of EUC_TW or MULE_INTERNAL. Versions before PostgreSQL 17.3, 16.7, 15.11, 14.16, and 13.19 are affected.
漏洞公开时间:2025-02-13 21:15:09
漏洞创建时间:2025-02-13 21:48:45
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2025-1094

更多参考(点击展开)
参考来源 参考链接 来源链接
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 https://www.postgresql.org/support/security/CVE-2025-1094/
af854a3a-2127-422b-91ae-364da2661108 http://www.openwall.com/lists/oss-security/2025/02/16/3
af854a3a-2127-422b-91ae-364da2661108 http://www.openwall.com/lists/oss-security/2025/02/20/1
af854a3a-2127-422b-91ae-364da2661108 https://lists.debian.org/debian-lts-announce/2025/02/msg00015.html
af854a3a-2127-422b-91ae-364da2661108 https://lists.debian.org/debian-lts-announce/2025/02/msg00024.html
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1720 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1725 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1722 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1721 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1728 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1723 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1724 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1733 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1729 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1732 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1726 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1727 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1730 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1731 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1735 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1738 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1736 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1737 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1742 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1743 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1741 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1740 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1744 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1739 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1745 https://bugzilla.redhat.com/show_bug.cgi?id=2345548
postgrepsql https://www.postgresql.org//support/security/CVE-2025-1094/ https://www.postgresql.org//support/security/CVE-2025-1094/
postgrepsql https://www.postgresql.org/about/news/postgresql-173-167-1511-1416-and-1319-released-3015/ https://www.postgresql.org//support/security/CVE-2025-1094/
mageia http://advisories.mageia.org/MGASA-2025-0064.html
amazon_linux_explore https://access.redhat.com/security/cve/CVE-2025-1094 https://explore.alas.aws.amazon.com/CVE-2025-1094.html
amazon_linux_explore https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-1094 https://explore.alas.aws.amazon.com/CVE-2025-1094.html

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

详情(点击展开)

二、漏洞分析结构反馈
影响性分析说明:
Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() allows a database input provider to achieve SQL injection in certain usage patterns. Specifically, SQL injection requires the application to use the function result to construct input to psql, the PostgreSQL interactive terminal. Similarly, improper neutralization of quoting syntax in PostgreSQL command line utility programs allows a source of command line arguments to achieve SQL injection when client_encoding is BIG5 and server_encoding is one of EUC_TW or MULE_INTERNAL.
openEuler评分:
8.1
Vector:CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
受影响版本排查(受影响/不受影响):
1.master(15.11):受影响
2.openEuler-22.03-LTS-SP3(13.18):受影响
3.openEuler-22.03-LTS-SP4(13.19):受影响
4.openEuler-24.03-LTS(15.10):受影响
5.openEuler-24.03-LTS-Next(15.11):受影响
6.openEuler-24.03-LTS-SP1(15.10):受影响
7.openEuler-20.03-LTS-SP4(10.23):不受影响

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

原因说明:
1.master(15.11):暂不修复-待升级版本修复
2.openEuler-22.03-LTS-SP3(13.18):暂不修复-待升级版本修复
3.openEuler-22.03-LTS-SP4(13.19):暂不修复-待升级版本修复
4.openEuler-24.03-LTS(15.10):暂不修复-待升级版本修复
5.openEuler-24.03-LTS-Next(15.11):暂不修复-待升级版本修复
6.openEuler-24.03-LTS-SP1(15.10):暂不修复-待升级版本修复
7.openEuler-20.03-LTS-SP4(10.23):不受影响-漏洞代码不存在

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

评论 (7)

openeuler-ci-bot 创建了CVE和安全问题 5个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
5个月前
展开全部操作日志
openeuler-ci-bot 添加了
 
sig/DB
标签
5个月前
参考网址 关联pr 状态 补丁链接
https://nvd.nist.gov/vuln/detail/CVE-2025-1094
https://ubuntu.com/security/CVE-2025-1094
https://www.opencve.io/cve/CVE-2025-1094
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2025-1094
https://security-tracker.debian.org/tracker/CVE-2025-1094

说明:抱歉,当前工具暂未找到推荐补丁,请人工查找或者之后评论'/find-patch'尝试再次查找。
若人工查找到补丁,烦请在此issue下评论 '/report-patch 参考网址 补丁链接1,补丁链接2' 便于我们不断优化工具,不胜感激。
如 /report-patch https://security-tracker.debian.org/tracker/CVE-2021-3997 https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1

openeuler-ci-bot 修改了描述 5个月前
openeuler-ci-bot 修改了描述 5个月前
openeuler-ci-bot 修改了描述 5个月前
openeuler-ci-bot 计划开始日期设置为2025-02-13 5个月前
openeuler-ci-bot 计划截止日期设置为2025-03-15 5个月前
openeuler-ci-bot 优先级设置为主要 5个月前

影响性分析说明:
Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() allows a database input provider to achieve SQL injection in certain usage patterns. Specifically, SQL injection requires the application to use the function result to construct input to psql, the PostgreSQL interactive terminal. Similarly, improper neutralization of quoting syntax in PostgreSQL command line utility programs allows a source of command line arguments to achieve SQL injection when client_encoding is BIG5 and server_encoding is one of EUC_TW or MULE_INTERNAL.

openEuler评分: (评分和向量)
8.1
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

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

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

原因说明:
1.master(15.10):正常修复
2.openEuler-20.03-LTS-SP4(10.23):不受影响-漏洞代码不存在
3.openEuler-22.03-LTS-SP3(13.18):正常修复
4.openEuler-22.03-LTS-SP4(13.18):正常修复
5.openEuler-24.03-LTS(15.10):正常修复
6.openEuler-24.03-LTS-Next(15.10):正常修复
7.openEuler-24.03-LTS-SP1(15.10):正常修复

openeuler-ci-bot 修改了描述 5个月前
openeuler-ci-bot 计划开始日期2025-02-13 修改为2025-02-14 5个月前
openeuler-ci-bot 计划截止日期2025-03-15 修改为2025-02-28 5个月前
openeuler-ci-bot 通过合并 Pull Request !140: update to 13.19 to fix CVE-2025-1094任务状态待办的 修改为已完成 5个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 5个月前
openeuler-ci-bot 修改了描述 5个月前

原因说明:
1.master(15.10):暂不修复-待升级版本修复
2.openEuler-22.03-LTS-SP3(13.18):暂不修复-待升级版本修复
3.openEuler-22.03-LTS-SP4(13.18):暂不修复-待升级版本修复
4.openEuler-24.03-LTS(15.10):暂不修复-待升级版本修复
5.openEuler-24.03-LTS-Next(15.10):暂不修复-待升级版本修复
6.openEuler-24.03-LTS-SP1(15.10):暂不修复-待升级版本修复
7.openEuler-20.03-LTS-SP4(10.23):不受影响-漏洞代码不存在

openeuler-ci-bot 修改了描述 5个月前
openeuler-ci-bot 通过合并 Pull Request !141: [sync] PR-140: update to 13.19 to fix CVE-2025-1094任务状态待办的 修改为已完成 5个月前
openeuler-ci-bot 修改了描述 5个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
5个月前
openeuler-ci-bot 添加了
 
CVE/FIXED
标签
5个月前
openeuler-ci-bot 修改了描述 5个月前
openeuler-ci-bot 修改了描述 4个月前
openeuler-ci-bot 修改了描述 4个月前

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(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

搜索帮助