GitHub Advisoryadvisory · RubyGems
GHSA-jc8m-cxhj-668x Improper Restriction of Excessive Authentication Attempts in Sorcery
HIGH
Official page ↗
- Aliases
- CVE-2020-11052
- Ecosystem
- RubyGems
- Packages
- sorcery
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
- Weaknesses
- CWE-307
- Reviewed
- 2020-05-07
Affected packages
• RubyGems sorcery: < 0.15.0 → fixed in 0.15.0
Description
Impact
Brute force vulnerability when using password authentication via Sorcery. The brute force protection submodule will prevent a brute force attack for the defined lockout period, but once expired protection will not be re-enabled until a user or malicious actor logs in successfully. This does not affect users that do not use the built-in brute force protection submodule, nor users that use permanent account lockout.
Patches
Patched as of version `0.15.0`.
Workarounds
Currently no workarounds, other than monkey patching the authenticate method provided by Sorcery or upgrading to version `0.15.0`.
Related
Alias · CVE (1)
- CVE-2020-11052 In Sorcery before 0.15.0, there is a brute force vulnerability when using password authentication via Sorcery. vulnerability
Weakness · CWE (1)
- CWE-307 Improper Restriction of Excessive Authentication Attempts weakness
References
- https://github.com/Sorcery/sorcery/security/advisories/GHSA-jc8m-cxhj-668x web
- https://nvd.nist.gov/vuln/detail/CVE-2020-11052 advisory
- https://github.com/Sorcery/sorcery/issues/231 web
- https://github.com/Sorcery/sorcery/pull/235 web
- https://github.com/Sorcery/sorcery/commit/0f116d223826895a73b12492f17486e5d54ab7a7 web
- https://github.com/Sorcery/sorcery package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sorcery/CVE-2020-11052.yml web