CVE-2020-11052
Improper Restriction of Excessive Authentication Attempts in Sorcery
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high), Ruby Advisory DB (high).
Description
In Sorcery before 0.15.0, there is a 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. This has been patched in 0.15.0.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | sorcery | 0.15.0 |
| rubygems::Ruby Advisory Database | sorcery | >= 0.15.0 |
References
- https://github.com/Sorcery/sorcery
- https://github.com/Sorcery/sorcery/commit/0f116d223826895a73b12492f17486e5d54ab7a7
- https://github.com/Sorcery/sorcery/issues/231
- https://github.com/Sorcery/sorcery/pull/235
- https://github.com/Sorcery/sorcery/security/advisories/GHSA-jc8m-cxhj-668x
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sorcery/CVE-2020-11052.yml
- https://nvd.nist.gov/vuln/detail/CVE-2020-11052