The Wayback Machine - https://web.archive.org/web/20211025233039/https://github.com/github/codeql/pull/6864
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

[Javascript] CWE-348: Client supplied ip used in security check #6864

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

@yabeow
Copy link

@yabeow yabeow commented Oct 13, 2021

Hi there,

This merge request ports these two similar queries to Javascript:

I also used local data flow to detect more sanitized cases in Javascript.

@asgerf asgerf requested a review from esbena Oct 25, 2021
@esbena
Copy link
Contributor

@esbena esbena commented Oct 25, 2021

Thanks. This generally LGTM. I have a few suggestions for code quality improvements.
I think the source and sinks are a bit on the heuristic side, but I am happy to see them merged if they work well in practice.

(I trust that all of the learnings from the two other PRs have made it into this PR.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants