Vulnerability · Published Dec 8, 2020 · Assigned by GitHub_M
CVE-2020-26254omniauth-apple allows attacker to fake their email address during authentication
High 7.7
In plain English
A high-severity authentication bypass by spoofing in omniauth-apple from nhosoya. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
omniauth-apple is the OmniAuth strategy for "Sign In with Apple" (RubyGem omniauth-apple). In omniauth-apple before version 1.0.1 attackers can fake their email address during authentication. This vulnerability impacts applications using the omniauth-apple strategy of OmniAuth and using the info.email field of OmniAuth's Auth Hash Schema for any kind of identification. The value of this field may be set to any value of the attacker's choice including email addresses of other users. Applications not using info.email for identification but are instead using the uid field are not impacted in the same manner. Note, these applications may still be negatively affected if the value of info.email is being used for other purposes. Applications using affected versions of omniauth-apple are advised to upgrade to omniauth-apple version 1.0.1 or later.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | omniauth-apple | 1.0.1 | GHSA-49r3-2549-3633 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| nhosoya | omniauth-apple | < 1.0.1 |
Weakness: CWE-290 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
References
- https://github.com/nhosoya/omniauth-apple/security/advisories/GHSA-49r3-2549-3633 x_refsource_CONFIRM
- https://github.com/nhosoya/omniauth-apple/commit/b37d5409213adae2ca06a67fec14c8d3d07d9016 x_refsource_MISC
- https://github.com/nhosoya/omniauth-apple/blob/master/CHANGELOG.md#101---2020-12-03 x_refsource_MISC