You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I received a security vulnerability alert from GitHub for omniauth, I am using 1.9.0
"The request phase of the OmniAuth Ruby gem is vulnerable to Cross-Site Request Forgery when used as part of the Ruby on Rails framework, allowing accounts to be connected without user intent, user interaction, or feedback to the user. This permits a secondary account to be able to sign into the web application as the primary account."
If this is considered as too risky and gets created in CVE why it isn't fixed since 2015? I hope this will be get fixed (or PR merged). Otherwise, alternatives...? Saying, What is our alternatives, by the way?
Reacted by Roman, John Crepezzi, Scott Miller, Kody, Michaël Witrant, Noah Berman, Sam, andrei, Abraham Matus , nicholas a. evans and 9 more
Github is flagging "vulnerable dependency" in any repo that has omniauth in its Gemfile.lock. That's a lot of maintainers getting hassled over this, so it's important that someone expedites a fix.
As I can see through the comments the PR(lunohodov/eventical@b017fcf) is not yet merged with the master so what we need to do in this case. I am also getting the same issue and below are my configuration
some apps that do something very specific can be vulnerable.
like any apps that directly sends http query params to the database would be vulnerable to sql injection, would you blame MySQL for it?
it sounds like the CVE should be clarified and all that omniauth can do, is offer some documentation about it and a nice warning this using authentication gems isn't a guaranty of preventing security vulnerability within our applications
my two cents
Reacted by Nick Rattermann, yamap, Charlie Jonas and Ted Johansson
@mathieujobin it is entirely unclear to me how anyone is supposed to contact NIST or GitHub to silence the alert on a site-wide scale or otherwise change the status of the alert to be more of an advisory warning against that behavior.
Plain and simple, the alert is too broad and does not adequately provide meaningful steps that can be taken to mitigate the problem. Instead, it scares everyone into a frenzy and causes people to disregard security alerts.
Reacted by Mathieu Jobin, Paul Mesnilgrente, anonoz, Ted Johansson and Saikumar Vantaku
@josh-m-sharpe there has been nothing new submitted that I haven't reviewed and/or merged since I've started to help maintain this. I'll reiterate again that I don't personally have the time to make this fix.
I started helping out to maintain this library because new PRs and issues were being ignored, and I figured some maintenance was better than none. I've been pretty good at responding, reviewing, and merging new items coming in a timely manner.
It is not my responsibility to "lead and direct the masses". I don't have the community clout nor the reach to try and do that. I'm happy with my scope of involvement in this project, and again, if you submit a PR that fixes this in a way that makes sense for the library, I'll work to get it reviewed, merged, and released under an appropriate version number for the change.
Have a great weekend 🙂
Reacted by Stéphane Bruckert, Campbell Allen, Rodrigo Álvarez, Tara Scherner de la Fuente, Matt W. and Maciek Sakrejda
Reacted by Jason Rudolph, Campbell Allen, Rodrigo Álvarez and Matt W.
I apologize if my first message wasn't clear. I'm absolutely not suggesting that you (or any other maintainer) is responsible to build the fix for this. But, as the maintainers, I would think that you know better than others what is in the best interest of the library.
Set that stage and and the PR will follow :)
Reacted by Rodrigo Álvarez, Janko Marohnić, Tara Scherner de la Fuente and Maciek Sakrejda
The vulnerable by default configuration has been removed in the v2.0.0 release
Reacted by Stéphane Bruckert, Campbell Allen, hoshino tsuyoshi, Sami Samhuri, David Svensson, wonda-tea-coffee, Arco Overbeek, Ákos Kovács, Nicholas La Roux, Saikumar Vantaku and 2 more
Reacted by Stéphane Bruckert, Laurynas Butkus, Campbell Allen, Rodrigo Álvarez, Sami Samhuri, wonda-tea-coffee, Arco Overbeek, Saikumar Vantaku and Maciek Sakrejda
Reacted by Campbell Allen, Charlie Jonas, Aaron Todd, Sami Samhuri, wonda-tea-coffee, Nicholas La Roux and Saikumar Vantaku
Reacted by Stéphane Bruckert, Jérémie Meyer de Ville, Campbell Allen, Serhii Konev, Sami Samhuri, Lewis Eason, wonda-tea-coffee and Saikumar Vantaku
Activity
bgwilson87 commentedon May 29, 2019
Looks like some related discussion here #809
gencer commentedon May 29, 2019
If this is considered as too risky and gets created in
CVEwhy it isn't fixed since 2015? I hope this will be get fixed (or PR merged). Otherwise, alternatives...? Saying, What is our alternatives, by the way?cjheath commentedon May 29, 2019
Github is flagging "vulnerable dependency" in any repo that has omniauth in its Gemfile.lock. That's a lot of maintainers getting hassled over this, so it's important that someone expedites a fix.
arye-eidelman commentedon May 30, 2019
Is this still an issue if I only allow linking OmniAuth accounts that have the same email address as the logged in user?
For example:
tmilewski commentedon May 30, 2019
Let's please continue the conversation over at #809 so that we don't wind up with diverging discourses.
Thanks!
Fix security vulnerability alert CVE-2015-9284
aniketstiwari commentedon Jun 24, 2019
As I can see through the comments the PR(lunohodov/eventical@b017fcf) is not yet merged with the master so what we need to do in this case. I am also getting the same issue and below are my configuration
Rails - 5.2.2
Ruby - 2.5.3
omniauth (1.4.3)
omniauth-linkedin-oauth2 (1.0.0)
omniauth-oauth2 (1.5.0)
omniauth-google-oauth2 (0.6.1)
mhamzajutt96 commentedon Jul 2, 2019
This issue is not yet resolved, even I update all the gems and my Gemfile.lock also updated which is greater than 1.9
My Repository is: https://github.com/mhamzajutt96/sportscenter
dropping omniauth due to CVE-2015-9284
security updates: updating yard, dropping omniauth
mathieujobin commentedon Sep 12, 2019
From the discussion above, it sounds like ...
some apps that do something very specific can be vulnerable.
like any apps that directly sends http query params to the database would be vulnerable to sql injection, would you blame MySQL for it?
it sounds like the CVE should be clarified and all that omniauth can do, is offer some documentation about it and a nice warning this using authentication gems isn't a guaranty of preventing security vulnerability within our applications
my two cents
hakusaro commentedon Sep 22, 2019
@mathieujobin it is entirely unclear to me how anyone is supposed to contact NIST or GitHub to silence the alert on a site-wide scale or otherwise change the status of the alert to be more of an advisory warning against that behavior.
Plain and simple, the alert is too broad and does not adequately provide meaningful steps that can be taken to mitigate the problem. Instead, it scares everyone into a frenzy and causes people to disregard security alerts.
aspiers commentedon Nov 10, 2019
The resolution is nicely documented here:
https://github.com/omniauth/omniauth/wiki/Resolving-CVE-2015-9284
A few days ago I contacted CVE requesting they add that URL as a reference, and they have obliged. So I think this issue can be closed now.
ngoral commentedon Nov 19, 2019
In #809 it was said that for rails we should just use https://github.com/omniauth/omniauth
What's wrong with this solution over the one you suggest?
aspiers commentedon Nov 19, 2019
The solution I have linked does use omniauth/omniauth. The solution is to use it in the right way.
12 remaining items
BobbyMcWho commentedon Nov 14, 2020
@josh-m-sharpe there has been nothing new submitted that I haven't reviewed and/or merged since I've started to help maintain this. I'll reiterate again that I don't personally have the time to make this fix.
I started helping out to maintain this library because new PRs and issues were being ignored, and I figured some maintenance was better than none. I've been pretty good at responding, reviewing, and merging new items coming in a timely manner.
It is not my responsibility to "lead and direct the masses". I don't have the community clout nor the reach to try and do that. I'm happy with my scope of involvement in this project, and again, if you submit a PR that fixes this in a way that makes sense for the library, I'll work to get it reviewed, merged, and released under an appropriate version number for the change.
Have a great weekend 🙂
josh-m-sharpe commentedon Nov 14, 2020
I apologize if my first message wasn't clear. I'm absolutely not suggesting that you (or any other maintainer) is responsible to build the fix for this. But, as the maintainers, I would think that you know better than others what is in the best interest of the library.
Set that stage and and the PR will follow :)
Papipo commentedon Nov 16, 2020
I am afraid that your first message was pretty clear.
BobbyMcWho commentedon Dec 3, 2020
I'm open for comments/review on this PR: #1010
BobbyMcWho commentedon Dec 11, 2020
I've opened a discussion on a v2.0.0 release candidate: #1017
BobbyMcWho commentedon Jan 11, 2021
The vulnerable by default configuration has been removed in the v2.0.0 release
jeremiemv commentedon Jan 14, 2021
Thank you for all your work @BobbyMcWho
robotarmy commentedon Jun 8, 2022
creating new issue
Update OmniAuth to use POST in order to address CVE-2015-9284
Update OmniAuth to use POST in order to address CVE-2015-9284
Update OmniAuth to use POST in order to address CVE-2015-9284