Description
In the Streampark platform, when users log in to the system and use certain features, some pages provide a name-based fuzzy search, such as job names, role names, etc. The sql syntax :select * from table where jobName like '%jobName%'. However, the jobName field may receive illegal parameters, leading to SQL injection. This could potentially result in information leakage. Mitigation: Users are recommended to upgrade to version 2.1.2, which fixes the issue.
Remediation
References
https://lists.apache.org/thread/bhdzh6hnh04yyf3g203bbyvxryd720o2
Related Vulnerabilities
CVE-2019-1003097 Vulnerability in maven package com.ds.tools.hudson:crowd
CVE-2020-2160 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2020-9498 Vulnerability in maven package org.apache.guacamole:guacamole
CVE-2023-0481 Vulnerability in maven package io.quarkus.resteasy.reactive:resteasy-reactive-common
CVE-2022-34780 Vulnerability in maven package com.xebialabs.ci:xlrelease-plugin