[Bug] MySQL Connectors has a vulnerability CVE-2023-22102
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 160
Description
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### Version
For pulsar version: `3.1.2` on branch: `branch-3.1` facing high vulnerability [CVE-2023-22102](https://nvd.nist.gov/vuln/detail/CVE-2023-22102#range-9716778), related to packages:
- mysql:mysql-connector-java
Below is the versions available in pulsar -
- 8.0.11
- 8.0.30
Maven Dependency
- pulsar - org.apache.pulsar 3.1.2
### Minimal reproduce step
Run Pulsar CI workflow on pulsar branch - `branch-3.1`
### What did you expect to see?
Expected to pass the `OWASP dependency check` under `Pulsar CI` workflow.
### What did you see instead?
Vulnerability
```
Error: Failed to execute goal org.owasp:dependency-check-maven:8.2.1:aggregate (default) on project pulsar:
Error:
Error: One or more dependencies were identified with vulnerabilities that have a CVSS score greater than or equal to '7.0':
Error:
Error: mysql-connector-java-8.0.30.jar: CVE-2023-22102(8.3)
```
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Contributor guide
Research direction
Inspect the Maven dependency declarations for mysql-connector-java and debezium.mysql.version on branch-3.1, then run the Pulsar CI OWASP dependency check. Done means the dependency scan passes without CVE-2023-22102 being reported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, mysql
- Domain
- ci-cd, databases, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100