摘要:
libpq security update
安全等级: High
公告ID: KylinSec-SA-2025-1614
发布日期: 2025年3月18日
关联CVE: CVE-2025-1094
PostgreSQL is a powerful, open source object-relational database system that uses and extends the SQL language combined with many features that safely store and scale the most complicated data workloads. This package provides the essential shared library for any PostgreSQL client program or interface.
Security Fix(es):
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.(CVE-2025-1094)
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2025-1094 | V6 | postgresql | Fixed |
软件名称 | 架构 | 版本号 |
---|---|---|
libpq | x86_64 | 15.12-1.ks6 |
libpq-devel | x86_64 | 15.12-1.ks6 |
libpq | aarch64 | 15.12-1.ks6 |
libpq-devel | aarch64 | 15.12-1.ks6 |
方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm
方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名