GHSA-r5pv-7g89-cxmc
SQL injection in audit endpoint
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.apache.inlong:manager-service | >= 1.4.0, < 1.8.0 | 1.8.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
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] https://github.com/apache/inlong/pull/8198
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2023-35088
- https://github.com/apache/inlong/pull/8198
- https://github.com/apache/inlong/commit/cab63a8eea6c0f4bf3d30ce245b7e1beee42504d
- https://github.com/apache/inlong
- https://lists.apache.org/thread/os7b66x4n8dbtrdpb7c6x37bb1vjb0tk
- http://seclists.org/fulldisclosure/2023/Jul/43
- http://www.openwall.com/lists/oss-security/2023/07/25/4