ekas-7 opened a new issue, #862:
URL: https://github.com/apache/wayang/issues/862

   ### Description
   
   A review of the Maven POM files found several dependencies pinned to 
versions with known CVEs or no longer receiving security fixes. Most are 
moderate or low severity, but a few in submodules are end-of-life and should be 
addressed.
   
   ### Root `pom.xml`
   
   | Dependency | Current | Issue | Suggested |
   |---|---|---|---|
   | `org.apache.logging.log4j:log4j-bom` | 2.20.0 | CVE-2025-68161 (missing 
TLS hostname verification in Socket Appender) | 2.25.3+ |
   | `com.fasterxml.jackson:jackson-bom` | 2.15.4 | 2.15.x is out of support; 
recent jackson-core advisories are fixed only in 2.18.x+ | 2.18.6+ (other 
modules already use 2.18.11 / 2.22.3) |
   | `hadoop.version` | 3.3.6 | CVE-2024-23454 (local info disclosure via temp 
dir); also pulls many dated transitive deps | 3.4.x |
   
   ### Submodule POMs
   
   | Module | Dependency | Current | Issue | Suggested |
   |---|---|---|---|---|
   | `wayang-ml4all` | `log4j:log4j` | 1.2.17 | End-of-life; multiple critical 
CVEs (e.g. CVE-2019-17571, CVE-2022-23305) | Remove, or migrate to log4j2 / 
`reload4j` |
   | `wayang-ml4all` | `org.apache.hadoop:hadoop-client` | 3.0.3 | Very old; 
inconsistent with `hadoop-hdfs` 3.3.6 in the same module | Use 
`${hadoop.version}` |
   | `wayang-api/wayang-api-utils` | `io.netty:netty-all` | 4.1.89.Final | 
Several later CVEs (e.g. CVE-2023-44487, CVE-2025-24970) | Latest 4.1.x |
   | `wayang-commons` | `org.yaml:snakeyaml` | 2.0 | Older 2.x release | 2.2+ |
   | `wayang-commons` | `de.odysseus.juel:juel-*` | 2.2.7 | No known CVE, but 
unmaintained since ~2014 (no future security fixes). Only used in `JuelUtils` 
to evaluate cost-model formulas from config. | Low priority: consider migrating 
to Jakarta EL or Apache Commons JEXL |
   
   ### Cleanup
   
   - The root `pom.xml` defines unused properties: `jsonpath.version` (2.4.0, 
vulnerable to CVE-2023-51074), `jaxb.version`, `jodatime.version`, 
`mockk.version`, `commons-io.version`. None are referenced anywhere. Remove 
them so they aren't reused by accident.
   - One profile in the root `pom.xml` sets `spark.version` to 3.5.7 while the 
default is 3.5.8. Align them.
   
   ### Suggested follow-up
   
   Run a full transitive scan, since most risk likely comes through Spark, 
Flink and Hadoop:
   
       ./mvnw org.owasp:dependency-check-maven:check
   
   Consider adding this (or Dependabot / `dependency-check` in CI) to catch 
future regressions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to