CriticalGHSA-r5pv-7g89-cxmcCVE-2023-35088

SQL injection in audit endpoint

Published 25 Jul 2023 · Updated 13 Feb 2025

Is your project on an affected org.apache.inlong:manager-service?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.inlong:manager-service -DdepVersion=1.8.0 -DforceVersion=true

Details

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
All 10 advisories for org.apache.inlong:manager-service

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.