PT-2023-25137 · Apache · Apache Inlong

Charles Zhang

·

Published

2023-07-25

·

Updated

2024-10-02

·

CVE-2023-35088

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Apache InLong versions 1.4.0 through 1.7.0
Description The issue is related to an SQL injection vulnerability due to improper neutralization of special elements used in an SQL command. This occurs in the toAuditCkSql method where the groupId, streamId, auditId, and dt are directly concatenated into the SQL query statement, potentially leading to SQL injection attacks.
Recommendations To resolve the issue, users are advised to upgrade to Apache InLong's 1.8.0 or cherry-pick the solution provided in https://github.com/apache/inlong/pull/8198. As a temporary workaround, consider restricting the input for the groupId, streamId, auditId, and dt variables to minimize the risk of exploitation.

Fix

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2023-35088
GHSA-R5PV-7G89-CXMC

Affected Products

Apache Inlong