SQL injection in audit endpoint
Published 25 Jul 2023 · Updated 13 Feb 2025
Is your project on an affected org.apache.inlong:manager-service?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- >=1.4.0 <1.8.0
- Fixed in
- 1.8.0
mvn versions:use-dep-version -Dincludes=org.apache.inlong:manager-service -DdepVersion=1.8.0 -DforceVersion=trueDetails
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
Is GHSA-r5pv-7g89-cxmc in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.inlong:manager-service, and gives you the command that fixes it.
More advisories for org.apache.inlong:manager-service
- CriticalCVE-2023-31065Apache InLong Insufficient Session Expiration vulnerability · 6 Jul 2023
- CriticalCVE-2023-31062Apache InLong Improper Privilege Management vulnerability · 6 Jul 2023
- CriticalCVE-2023-31066Apache InLong has Files or Directories Accessible to External Parties in Apache InLong · 6 Jul 2023
- HighCVE-2023-31103Apache InLong Exposure of Resource to Wrong Sphere vulnerability · 6 Jul 2023
- HighCVE-2023-31453Apache InLong Incorrect Permission Assignment for Critical Resource Vulnerability · 6 Jul 2023
- HighCVE-2023-31206Apache InLong Exposure of Resource to Wrong Sphere vulnerability · 6 Jul 2023
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2023-35088
- Linkgithub.com/apache/inlong/pull/8198
- Linkgithub.com/apache/inlong/commit/cab63a8eea6c0f4bf3d30ce245b7e1beee42504d
- Packagegithub.com/apache/inlong
- Linklists.apache.org/thread/os7b66x4n8dbtrdpb7c6x37bb1vjb0tk
- Linkseclists.org/fulldisclosure/2023/Jul/43
- Linkwww.openwall.com/lists/oss-security/2023/07/25/4
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.