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

Graphviz Update? #42

Open
lespea opened this issue Apr 21, 2021 · 13 comments
Open

Graphviz Update? #42

lespea opened this issue Apr 21, 2021 · 13 comments

Comments

@lespea
Copy link

lespea commented Apr 21, 2021

One of our internal scanning tools identified the following CVEs present in the included graphviz library: CVE-2019-9904 & CVE-2019-11023. I haven't validated those but I do believe the library is a handful of version behind anyway... not sure how much work it is updating the library code?

@Vithanco
Copy link

Indeed, this looks like a valid question. Can we update Graphviz? It currently looks like the Graphviz source and GO source are intermingled. Can we do this differently?

@little-nil
Copy link

Do me a favor. I have the same problem

@Vithanco
Copy link

Btw, this looks like a really great library. The description sounds like this is my dream.
So, this wasn't meant as criticism. I am more interested whether it makes sense to get involved... Hence my request. Can we create this maybe as a fork of Graphviz itself? With the sources of this library as true extension of this fork? I noticed that Graphviz got some maintainers and is picking up speed.

Or any better idea?

I am willing to add some hours to that endeavour as well, but only started learning Go, so I would need help.

@goccy
Copy link
Owner

goccy commented Nov 29, 2021

I'll prepare a mechanism to easily update the C source of Graphviz.
For example, use the following command ( make update/graphviz/{version})

make update/graphviz/2.40.1

@Vithanco
Copy link

this sounds fantastic!

@little-nil
Copy link

I'll prepare a mechanism to easily update the C source of Graphviz. For example, use the following command ( make update/graphviz/{version})

make update/graphviz/2.40.1

I finally got you.
You are the god of salvation.
This is a moment to celebrate!

@Vithanco
Copy link

Vithanco commented Dec 1, 2021

Did you ever try to compile towards WebAssembly?

@Vithanco
Copy link

Vithanco commented Dec 1, 2021

I assume WebAssembly doesn't work:
imports github.com/goccy/go-graphviz/internal/ccall: build constraints exclude all Go files in ${MyPATH}/pkg/mod/github.com/goccy/go-graphviz@v0.0.9/internal/ccall

@TimJJTing
Copy link

Any updates on this?

@spacedub
Copy link

@Vithanco did you end-up having a functioning fork with updated upstream graphviz?

@Vithanco
Copy link

Sorry, after some further consideration did I choose JavaScript over Go. But I still thinking this is a great library.

Thanks for the follow up & good luck!

@spacedub
Copy link

@goccy would love to see this happen - and of course happy to help if you can provide some pointers.

@esnible
Copy link

esnible commented Jun 10, 2023

The "Mend" tool complains about three CVEs in the embedded version of GraphViz. Consider replacing the current GraphViz source with newer source. I looked up Mend's complaints, here they are:

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

7 participants