MediumGHSA-cf36-985g-v73cCVE-2013-4562

omniauth-facebook Cross-Site Request Forgery vulnerability

Published 24 Oct 2017 · Updated 30 Nov 2024

Is your project on an affected omniauth-facebook?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=1.4.1 <1.5.0
Fixed in
1.5.0
Update to the fixed version for your release line, for example:bundle update --conservative omniauth-facebook # Gemfile: '>= 1.5.0'

Details

The omniauth-facebook gem 1.4.1 before 1.5.0 does not properly store the session parameter, which allows remote attackers to conduct cross-site request forgery (CSRF) attacks via the state parameter.

Is GHSA-cf36-985g-v73c in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected omniauth-facebook, and gives you the command that fixes it.

More advisories for omniauth-facebook

  • HighCVE-2013-4593omniauth-facebook Improper Authentication vulnerability · 5 May 2022
omniauth-facebook security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.