Skip to content

Commit

Permalink
[nw2aWxrX] Upgrade lettuce-core to 6.1.9-RELEASE to mitigate CVE-2021…
Browse files Browse the repository at this point in the history
  • Loading branch information
Lojjs committed Mar 16, 2023
1 parent 08c2ed4 commit cc3d8b1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Here is a list of all available Redis procedures:
== Install Dependencies

The Redis procedures have dependencies on a client library that is not included in the APOC Library.
You can download it from https://github.com/lettuce-io/lettuce-core/releases/tag/6.1.1.RELEASE[the lettuce-core repository](except for `netty` jars because they are already included within neo4j)
You can download it from https://github.com/lettuce-io/lettuce-core/releases/tag/6.1.9.RELEASE[the lettuce-core repository](except for `netty` jars because they are already included within neo4j)
or https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/{apoc-release}/apoc-redis-dependencies-{apoc-release}.jar[apoc repository]
Once that file is downloaded, it should be placed in the `plugins` directory and the Neo4j Server restarted.

Expand Down
2 changes: 1 addition & 1 deletion extra-dependencies/redis/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jar {
}

dependencies {
compile group: 'io.lettuce', name: 'lettuce-core', version: '6.1.1.RELEASE', {
compile group: 'io.lettuce', name: 'lettuce-core', version: '6.1.9.RELEASE', {
exclude group: 'io.netty'
}
}
8 changes: 4 additions & 4 deletions full/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ dependencies {

testCompile 'net.sourceforge.jexcelapi:jxl:2.6.12'

compileOnly group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.12.349'
testCompile group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.12.349'
compileOnly group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.12.425'
testCompile group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.12.425'

testCompile group: 'org.reflections', name: 'reflections', version: '0.9.12'

Expand Down Expand Up @@ -123,8 +123,8 @@ dependencies {
compileOnly group: 'com.couchbase.client', name: 'java-client', version: '3.3.0', withoutJacksons
testCompile group: 'com.couchbase.client', name: 'java-client', version: '3.3.0', withoutJacksons

compileOnly group: 'io.lettuce', name: 'lettuce-core', version: '6.1.1.RELEASE'
testCompile group: 'io.lettuce', name: 'lettuce-core', version: '6.1.1.RELEASE'
compileOnly group: 'io.lettuce', name: 'lettuce-core', version: '6.1.9.RELEASE'
testCompile group: 'io.lettuce', name: 'lettuce-core', version: '6.1.9.RELEASE'

compileOnly group: 'org.neo4j', name: 'neo4j', version: neo4jVersionEffective

Expand Down
2 changes: 1 addition & 1 deletion full/src/main/java/apoc/redis/RedisConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public RedisConnection getRedisConnection(String uri, Map<String, Object> config
return (RedisConnection) constructor.newInstance(uri, redisConfig);
} catch (NoClassDefFoundError e) {
throw new MissingDependencyException("Cannot find the Redis client jar. \n" +
"Please put the lettuce-core-6.1.1.RELEASE.jar into plugin folder. \n" +
"Please put the lettuce-core-6.1.9.RELEASE.jar into plugin folder. \n" +
"See the documentation: https://neo4j.com/labs/apoc/4.1/database-integration/redis/");
} catch (Exception e) {
throw new RuntimeException(e);
Expand Down

0 comments on commit cc3d8b1

Please sign in to comment.