# CVE-2020-11052: Improper Restriction of Excessive Authentication Attempts in Sorcery

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.3
- **CVSS:** 8.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.60% (percentile 76, 2026-11-26)
- **CWE:** CWE-307
- **Aliases:** GHSA-jc8m-cxhj-668x
- **Published:** 2020-05-07T20:25:14.000Z
- **Modified:** 2026-07-08T06:00:06.653Z

## Who should check

- Projects that depend on RubyGems package sorcery (\< 0.15.0)
- Anyone running Sorcery \< 0.15.0

## 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 and fixed versions

- RubyGems `sorcery`: affected \< 0.15.0; fixed 0.15.0 (osv)
- Sorcery: \< 0.15.0 (cvelist)

## Mitigation

- Upgrade sorcery to 0.15.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-11052. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-11052.md
Affected: sorcery < 0.15.0
Fixed in: 0.15.0

Steps:
1. Search this machine and project for sorcery (RubyGems), Sorcery: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-11052 being exploited?

There is no confirmed exploitation: CVE-2020-11052 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.60% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-11052?

High: CVSS 8.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2020-11052?

sorcery \< 0.15.0.

### Is there a fix for CVE-2020-11052?

Yes. Fixed in 0.15.0. Upgrade sorcery to 0.15.0 or later.

### How do I check if I'm affected by CVE-2020-11052?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/Sorcery/sorcery/security/advisories/GHSA-jc8m-cxhj-668x>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2020-11052>
- patch: <https://github.com/Sorcery/sorcery/pull/235>
- patch: <https://github.com/Sorcery/sorcery/commit/0f116d223826895a73b12492f17486e5d54ab7a7>
- other: <https://github.com/Sorcery/sorcery/issues/231>
- other: <https://github.com/Sorcery/sorcery>
- other: <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sorcery/CVE-2020-11052.yml>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-11052>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jc8m-cxhj-668x> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2020-11052> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-11052>
