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

HTTP response splitting vulnerability #719

Closed
kevindixon opened this issue Jul 23, 2020 · 4 comments · Fixed by #725
Closed

HTTP response splitting vulnerability #719

kevindixon opened this issue Jul 23, 2020 · 4 comments · Fixed by #725

Comments

@kevindixon
Copy link

See https://app.snyk.io/vuln/SNYK-PYTHON-UVICORN-570471

@tomchristie
Copy link
Member

Heya, so it looks like this needs to be resolved in httptools, right?

@kevindixon
Copy link
Author

@tomchristie if that question is directed at me... honestly I have no idea.
Just a dumb client using the library with no time to dig under the hood... :-)

@snoopysecurity
Copy link

Hey @tomchristie, what part of the uvicorn deals with parsing http headers? could be a httptools problem. i believe it would be a case of adding some extra validation to check for %0d(CR),%0a(LF) characters. Maybe the below commits from similar issues would help

@tomchristie
Copy link
Member

Yup first step is double checking if it's directly in httptools that this needs addressing. (Looks like it but I've not dived into it.)

Really this ought to be getting dealt with privatly, but that's my bad, Snyk did notify me about this via email, but I've been too over-committed with everything to have dug into it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants