Skip to content

trivy can't detect older binary #6147

Closed Answered by DmitriyLewen
camaeel asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure if this is possible.

We can't differentiate this binary from a non-golang binary.
e.g.:

➜ /bin go version ./bash
./bash: Failed to read Go build information from ./bash: Not a Go executable

Therefore, we will show this warning for every binary file.

I think this is a rare case. Support for 1.12 has also been completed.
I think we can ignore this case.

If we get more problems like this with the current version of Go, we will return to this problem (add a warning, write to the Go developers, etc.).

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@nikpivkin
Comment options

@DmitriyLewen
Comment options

@camaeel
Comment options

@DmitriyLewen
Comment options

Answer selected by camaeel
@camaeel
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
triage/support Indicates an issue that is a support question. scan/vulnerability Issues relating to vulnerability scanning
3 participants