Skip to content

UUID should not be able to cause log-injection #10722

Answered by atorralba
Sarastro72 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @Sarastro72, thanks for the report!

This is indeed a false positive, but not something specific to log injection: in general, our data flow queries don't restrict sources by type at this level because there are many types that cannot realistically carry taint, but also there are many that can — so adding a type-by-type exception doesn't seem to scale very well, but doing something like "accept only String sources" obviously would introduce false negatives.

Nevertheless, we agree this could be improved, so we've tracked it in an internal issue and will address it generally once we decide on a proper solution.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Sarastro72
Comment options

@atorralba
Comment options

Answer selected by Sarastro72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants