Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2023-2976 #1157

Open
b-reich opened this issue Jun 30, 2023 · 3 comments
Open

CVE-2023-2976 #1157

b-reich opened this issue Jun 30, 2023 · 3 comments

Comments

@b-reich
Copy link

b-reich commented Jun 30, 2023

 * JGraphT version: 1.5.2
 * Java version (java -version)/platform:  17/linux

Issue
com.google.guava until 31.01 is affected by the CVE-2023-2976

Steps to reproduce (small coding example)

Expected behaviour
jgrapht guava without an vulnerable dependency

Other information

@jsichi
Copy link
Member

jsichi commented Jul 1, 2023

I've analyzed this issue as follows:

  • JGraphT itself doesn't use Google Guava at all; we just provide an optional adapter module which does
  • The adapter module does not use FileBackedOutputStream directly
  • From looking at the Guava code, I don't think anything else uses it indirectly

So there's no actually vulnerability for JGraphT. The issue would be if someone was using our adapter module, and ended up with a dependency conflict as a result of trying to use the latest version of Guava. So if someone runs into that, we'll need to provide a point release at that time.

@b-reich
Copy link
Author

b-reich commented Jul 1, 2023

You are right.
The Adapter depends on it. https://mvnrepository.com/artifact/org.jgrapht/jgrapht-guava/1.5.2
grafik
A point release would be greate for it

@jkinable
Copy link
Collaborator

jkinable commented Jul 6, 2023

I've updated the dependencies and pushed them into main. Our snapshot build now imports the latest guava version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants