CVE-2020-15237
published medium CVSS 3.1 · 5.9Timing attack in Shrine
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| shrinerb | — | shrine< 3.3.0 | Affected | Not stated | GitHub_M |
Description
In Shrine before version 3.3.0, when using the `derivation_endpoint` plugin, it's possible for the attacker to use a timing attack to guess the signature of the derivation URL. The problem has been fixed by comparing sent and calculated signature in constant time, using `Rack::Utils.secure_compare`. Users using the `derivation_endpoint` plugin are urged to upgrade to Shrine 3.3.0 or greater. A possible workaround is provided in the linked advisory.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| shrinerb | shrine | < 3.3.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-208 {"CWE-208":"Observable Timing Discrepancy"}
- CWE-203 {"CWE-203":"Observable Differences in Behavior to Error Inputs"}
References
2Provider assertions
2GitHub_M · cna
Timing attack in Shrine
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8b6496c4ab61be3f94475e569de7d9c6762a8a920dcee71a3d83233e54792f08
- Ingested
- 23 Sep 2026, 07:48:51 UTC
- Source record
- Official CVE record