Skip to content

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

Merged
jdolitsky merged 2 commits intomainfrom
fix/url-parsed-crlf
Jan 21, 2022
Merged

pkg/chartmuseum/router: fix potential CRLF log injection by constructing vulnerable request#519
jdolitsky merged 2 commits intomainfrom
fix/url-parsed-crlf

Conversation

@scbizu
Copy link
Copy Markdown
Contributor

@scbizu scbizu commented Jan 19, 2022

Fixes #518 ;

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

…ing vulnerable request

Fixes #518

Signed-off-by: scnace <scbizu@gmail.com>
@scbizu scbizu requested a review from jdolitsky January 19, 2022 19:19
@jdolitsky
Copy link
Copy Markdown
Contributor

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

@jdolitsky
Copy link
Copy Markdown
Contributor

Should we merge #482? Seems to fix

@scbizu
Copy link
Copy Markdown
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