• 公告ID (KylinSec-SA-2024-1471)

摘要:

postgresql-jdbc security update

安全等级: Critical

公告ID: KylinSec-SA-2024-1471

发布日期: 2024年3月1日

关联CVE: CVE-2024-1597  

  • 详细介绍

1. 漏洞描述

   

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)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2024-1597 KY3.4-5A postgresql-jdbc Fixed
CVE-2024-1597 KY3.5.2 postgresql-jdbc Fixed

3. 影响组件

    postgresql-jdbc

4. 修复版本

   

KY3.4-5A

软件名称 架构 版本号
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

KY3.5.2

软件名称 架构 版本号
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

5. 修复方法


方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm

方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名

6. 下载链接

   

KY3.4-5A:

x86_64:

     postgresql-jdbc-help   

     postgresql-jdbc-javadoc   

     postgresql-jdbc   

aarch64:

     postgresql-jdbc-help   

     postgresql-jdbc-javadoc   

     postgresql-jdbc   

KY3.5.2:

x86_64:

     postgresql-jdbc-help   

     postgresql-jdbc   

     postgresql-jdbc-javadoc   

aarch64:

     postgresql-jdbc-help   

     postgresql-jdbc   

     postgresql-jdbc-javadoc   

上一篇:KylinSec-SA-2024-1469 下一篇:KylinSec-SA-2024-1472