CVE-2020-15237
MEDIUMShrine < 3.3.0 - Observable Timing Discrepancy in Derivation Endpoint Signature Verification
Title source: llmDescription
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.
References (2)
Core 2
Core References
Third Party Advisory x_refsource_confirm
https://github.com/shrinerb/shrine/security/advisories/GHSA-5jjv-x4fq-qjwp
Patch, Third Party Advisory x_refsource_misc
https://github.com/shrinerb/shrine/commit/1b27090ce31543bf39f186c20ea47c8250fca2f0
Scores
CVSS v3
5.9
EPSS
0.0100
EPSS Percentile
57.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-208
CWE-203
Status
published
Products (2)
rubygems/shrine
0 - 3.3.0RubyGems
shrinerb/shrine
< 3.3.0
Published
Oct 05, 2020
Tracked Since
Feb 18, 2026