SQL injection in audit endpoint
Critical severity
GitHub Reviewed
Published
Jul 25, 2023
to the GitHub Advisory Database
•
Updated Oct 2, 2024
Package
Affected versions
>= 1.4.0, < 1.8.0
Patched versions
1.8.0
Description
Published by the National Vulnerability Database
Jul 25, 2023
Published to the GitHub Advisory Database
Jul 25, 2023
Reviewed
Jul 25, 2023
Last updated
Oct 2, 2024
Improper Neutralization of Special Elements Used in an SQL Command ('SQL Injection') vulnerability in Apache Software Foundation Apache InLong.This issue affects Apache InLong: from 1.4.0 through 1.7.0.
In the toAuditCkSql method, the groupId, streamId, auditId, and dt are directly concatenated into the SQL query statement, which may lead to SQL injection attacks.
Users are advised to upgrade to Apache InLong's 1.8.0 or cherry-pick [1] to solve it.
[1] apache/inlong#8198
References