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

pkg/chartmuseum/router: fix potential CRLF log injection by constructing vulnerable request #519

Merged
merged 2 commits into from
Jan 21, 2022

Conversation

scbizu
Copy link
Contributor

@scbizu scbizu commented Jan 19, 2022

Fixes #518 ;

See more for go doc: https://pkg.go.dev/net/url#URL.EscapedPath

@scbizu scbizu requested a review from jdolitsky January 19, 2022 19:19
@jdolitsky
Copy link
Contributor

@scbizu thanks for looking at this. I see tests failing. Does this break routing?

@jdolitsky
Copy link
Contributor

Should we merge #482? Seems to fix

@scbizu
Copy link
Contributor Author

scbizu commented Jan 20, 2022

Yep , #482 fixes the breaking router tests.

@jdolitsky jdolitsky merged commit 619e85d into main Jan 21, 2022
@jdolitsky jdolitsky added this to the v0.14.0 milestone Jan 24, 2022
@jdolitsky jdolitsky deleted the fix/url-parsed-crlf branch January 28, 2022 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chartmuseum v0.13.1 vulnerable against Log Injection
4 participants