apache / helix

Mirror of Apache Helix
Apache License 2.0
462 stars 224 forks source link

upgrade xstream to 1.4.20 to pick up fixes for 2 CVEs #2763

Closed pjfanning closed 6 months ago

pjfanning commented 6 months ago

Issues

resolves #2764

Description

xstream 1.4.19 is insecure - see https://mvnrepository.com/artifact/com.thoughtworks.xstream/xstream

Tests

(List the names of added unit/integration tests)

(If CI test fails due to known issue, please specify the issue and test PR locally. Then copy & paste the result of "mvn test" to here.)

Changes that Break Backward Compatibility (Optional)

(Consider including all behavior changes for public methods or API. Also include these changes in merge description so that other developers are aware of these changes. This allows them to make relevant code changes in feature branches accounting for the new method/API behavior.)

Documentation (Optional)

(Link the GitHub wiki you added)

Commits

Code Quality

junkaixue commented 6 months ago

The build fails @pjfanning

pjfanning commented 6 months ago

@junkaixue the build failure

Error:  Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project rabbitmq-consumer-group: Compilation failure
Error:  /home/runner/work/helix/helix/recipes/rabbitmq-consumer-group/src/main/java/org/apache/helix/recipes/rabbitmq/ConsumerThread.java:[27,27] cannot find symbol
Error:    symbol:   class QueueingConsumer
Error:    location: package com.rabbitmq.client

I did not change rabbitmq jar.

pjfanning commented 6 months ago

@junkaixue it looks like the helix master branch build is just broken - see https://github.com/apache/helix/commits/master/

there was a rabbitmq dependabot merge

junkaixue commented 6 months ago

Yeah. Just found that as well. Had a fix due to dependency bump. Let me rerun your PR CI.