Description
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
Remediation
References
http://seclists.org/fulldisclosure/2023/Jul/43
http://www.openwall.com/lists/oss-security/2023/07/25/4
https://lists.apache.org/thread/os7b66x4n8dbtrdpb7c6x37bb1vjb0tk
Related Vulnerabilities
CVE-2019-10795 Vulnerability in maven package org.webjars.npm:undefsafe
CVE-2020-2296 Vulnerability in maven package org.jenkins-ci.plugins:shared-objects
CVE-2019-16869 Vulnerability in maven package org.jboss.netty:netty
CVE-2022-25352 Vulnerability in npm package libnested
CVE-2023-37942 Vulnerability in maven package org.jenkins-ci.plugins:external-monitor-job