摘要:
postgresql-jdbc security update
安全等级: Critical
公告ID: KylinSec-SA-2024-1471
发布日期: 2024年3月1日
关联CVE: CVE-2024-1597
PostgreSQL JDBC Driver (PgJDBC for short) allows Java programs to connect to a PostgreSQL database using standard, database independent Java code. Is an open source JDBC driver written in Pure Java (Type 4), and communicates in the PostgreSQL native network protocol.
Security Fix(es):
pgjdbc, the PostgreSQL JDBC Driver, allows attacker to inject SQL if using PreferQueryMode=SIMPLE. Note this is not the default. In the default mode there is no vulnerability. A placeholder for a numeric value must be immediately preceded by a minus. There must be a second placeholder for a string value after the first placeholder; both must be on the same line. By constructing a matching string payload, the attacker can inject SQL to alter the query,bypassing the protections that parameterized queries bring against SQL Injection attacks. Versions before 42.7.2, 42.6.1, 42.5.5, 42.4.4, 42.3.9, and 42.2.8 are affected.(CVE-2024-1597)
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2024-1597 | KY3.4-5A | postgresql-jdbc | Fixed |
CVE-2024-1597 | KY3.5.2 | postgresql-jdbc | Fixed |
软件名称 | 架构 | 版本号 |
---|---|---|
postgresql-jdbc-help | noarch | 42.4.1-3.kb1.ky3_4 |
postgresql-jdbc-javadoc | noarch | 42.4.1-3.kb1.ky3_4 |
postgresql-jdbc | noarch | 42.4.1-3.kb1.ky3_4 |
软件名称 | 架构 | 版本号 |
---|---|---|
postgresql-jdbc-help | noarch | 42.4.1-3.ky3_5 |
postgresql-jdbc | noarch | 42.4.1-3.ky3_5 |
postgresql-jdbc-javadoc | noarch | 42.4.1-3.ky3_5 |
方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm
方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名