Skip to content

Ruby: handle knownOrUnkown in default taint step#11170

Merged
asgerf merged 3 commits intogithub:mainfrom
asgerf:rb/taint-known-or-unknown
Nov 9, 2022
Merged

Ruby: handle knownOrUnkown in default taint step#11170
asgerf merged 3 commits intogithub:mainfrom
asgerf:rb/taint-known-or-unknown

Conversation

@asgerf
Copy link
Copy Markdown
Contributor

@asgerf asgerf commented Nov 8, 2022

Fixes a bug in the default taint steps, which caused us to miss some taint steps out of collections.

Evaluation shows 538 new tainted nodes and 5 new alerts. 1 of the new alerts seem plausible and the other 4 are due to a missed sanitizer which will most likely be fixed by #11114.

@asgerf asgerf added no-change-note-required This PR does not need a change note Ruby labels Nov 8, 2022
@asgerf asgerf requested a review from a team as a code owner November 8, 2022 16:46
Comment thread ruby/ql/lib/codeql/ruby/dataflow/internal/TaintTrackingPrivate.qll Outdated
….qll

Co-authored-by: Tom Hvitved <hvitved@github.com>
@asgerf asgerf merged commit ac5a1d6 into github:main Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-change-note-required This PR does not need a change note Ruby

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants