GitHub Advisory Database
GHSA-pm55-qfxr-h247
OmniAuth's `lib/omniauth/failure_endpoint.rb` does not escape `message_key` value
Details
lib/omniauth/failure_endpoint.rb in OmniAuth before 1.9.2 (and before 2.0) does not escape the message_key value.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | omniauth | All versions before 1.9.2 (fixed in 1.9.2) |
| RubyGems | omniauth | From 2.0.0.pre.rc1 before 2.0.0 (fixed in 2.0.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-36599
- https://github.com/omniauth/omniauth/commit/43a396f181ef7d0ed2ec8291c939c95e3ed3ff00#diff-575abda9deb9b1a77bf534e898a923029b9a61e991d626db88dc6e8b34260aa2
- https://github.com/omniauth/omniauth
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth/CVE-2020-36599.yml
- https://rubygems.org/gems/omniauth/versions/1.9.2