JS: add class-field flowstep to js/shell-command-constructed-from-input #4919
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Regains TP/TN for CVE-2018-3746 and CVE-2020-4066.
Those two CVEs were lost with #4460.
A simple solution would have been to revert that PR.
But with this solution we can keep the precision gain from #4460, while still getting TPs on the two CVEs.
I wondering if we should promote this flow-step to all taint/data-flow queries?
Because without it we miss the following:
We only get the above flow if there is some call to
baz()(which seems to connect thethisnodes).