-
Notifications
You must be signed in to change notification settings - Fork 736
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
Passing query parameters to render()
and template_exists?
#1124
Comments
Hi Alexander, I suppose this could be fixed, but... Rails 4.2.4 has a bunch of known vulnerabilities. Maybe it would be a good idea to upgrade? |
Hi Justin, Thanks for respond to my issue. I've got Rails upgrade on my plan 😄 |
After upgrading Rails to 4.2.7.1 warning message changed to |
@presidentbeef Justin, thanks for dealing with that! 👍 |
Background
Brakeman version: 4.0.1
Rails version: 4.2.4
Ruby version: 2.3.3
Issue
Passing query parameters to render() is vulnerable in Rails 4.2.4 (CVE-2016-0752)
Relevant code:
Is there any possibility to handle
Passing query parameters...
withtemplate_exists?
method? Or should I markshow_slug
method assafe
?The text was updated successfully, but these errors were encountered: