Apache · Apache Inlong · CVE-2023-35088
**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.