CVEvulnerability
CVE-2020-15237
5.9 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2020-10-05
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 3.1 ([email protected])
- 5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-203, CWE-208
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.
Affected configurations
• shrinerb shrine (< 3.3.0)
Related
References
- https://github.com/shrinerb/shrine/commit/1b27090ce31543bf39f186c20ea47c8250fca2f0 Patch, Third Party Advisory
- https://github.com/shrinerb/shrine/security/advisories/GHSA-5jjv-x4fq-qjwp Third Party Advisory
- https://github.com/shrinerb/shrine/commit/1b27090ce31543bf39f186c20ea47c8250fca2f0 Patch, Third Party Advisory
- https://github.com/shrinerb/shrine/security/advisories/GHSA-5jjv-x4fq-qjwp Third Party Advisory