Skip to content

Commit e6a6ba2

Browse files
authored
fix(security): upgrade mysql-connector-j and protobuf-java (#344)
- Migrate from deprecated mysql:mysql-connector-java 8.0.30 to com.mysql:mysql-connector-j 8.4.0 (HIGH) - Override protobuf-java to 3.25.5 to fix DoS vulnerability (HIGH)
1 parent 04795ba commit e6a6ba2

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- **WireMock 3.13.2** - Upgraded from 3.13.0 to fix commons-fileupload vulnerability (HIGH)
1313
- **commons-lang 2.x removed** - Migrated to commons-lang3 3.20.0 (no fix available for 2.x MEDIUM CVE)
1414
- **iq80 snappy excluded** - Excluded vulnerable snappy from checkstyle plugin dependencies (MEDIUM)
15+
- **mysql-connector-j 8.4.0** - Migrated from deprecated mysql:mysql-connector-java 8.0.30 (HIGH)
16+
- **protobuf-java 3.25.5** - Override to fix DoS vulnerability (HIGH)
1517

1618
### Notes
17-
- commons-lang3 alert (3.18.0 fix) dismissed - already at 3.20.0
19+
- commons-lang3 alert dismissed - already at 3.20.0
20+
- commons-beanutils alerts dismissed - already at fix version 1.11.0
21+
- jetty-http alerts dismissed - requires Jetty 12.x (Javalin 7.x)
1822

1923
## [0.35.0] - 2025-12-28
2024

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,12 @@
195195
<artifactId>http2-common</artifactId>
196196
<version>${jetty.version}</version>
197197
</dependency>
198+
<!-- Security: Override protobuf-java to fix DoS vulnerability (transitive via mysql-connector-j) -->
199+
<dependency>
200+
<groupId>com.google.protobuf</groupId>
201+
<artifactId>protobuf-java</artifactId>
202+
<version>3.25.5</version>
203+
</dependency>
198204
<dependency>
199205
<groupId>org.apache.maven.plugins</groupId>
200206
<artifactId>maven-checkstyle-plugin</artifactId>

qqq-backend-module-rdbms/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@
4747
</dependency>
4848

4949
<!-- 3rd party deps specifically for this module -->
50+
<!-- Security: Migrated from deprecated mysql:mysql-connector-java to com.mysql:mysql-connector-j -->
5051
<dependency>
51-
<groupId>mysql</groupId>
52-
<artifactId>mysql-connector-java</artifactId>
53-
<version>8.0.30</version>
52+
<groupId>com.mysql</groupId>
53+
<artifactId>mysql-connector-j</artifactId>
54+
<version>8.4.0</version>
5455
</dependency>
5556
<dependency>
5657
<groupId>com.mchange</groupId>

0 commit comments

Comments
 (0)