CVE-2020-15237
MEDIUM 5.9CVSS 3.1Possible timing attack in derivation_endpoint
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.
- Published
- 5 Oct 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-203CWE-208
- Also known as
- GHSA-5jjv-x4fq-qjwp
- Sources
- NVDJSONOSV GHSA-5jjv-x4fq-qjwpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | shrinerb | shrinecpe:2.3:a:shrinerb:shrine:*:*:*:*:*:ruby:*:* |
< 3.3.0 | 3.3.0 |
| OSV | RubyGems | shrine | < 3.3.0 | 3.3.0 |
References
- https://github.com/shrinerb/shrine/commit/1b27090ce31543bf39f186c20ea47c8250fca2f0 · Patch, Third Party Advisory, WEB
- https://github.com/shrinerb/shrine/security/advisories/GHSA-5jjv-x4fq-qjwp · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-15237 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/shrine/CVE-2020-15237.yml · WEB
- https://github.com/shrinerb/shrine · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 5 Oct 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Oct 2020)