Medium, CVSS 5.9RubyGemsPublished
Possible timing attack in derivation_endpoint
CVE-2020-15237 · GHSA-5jjv-x4fq-qjwp
- Affected
- RubyGems shrine < 3.3.0
- Fixed in
- 3.3.0· Vendor fix available
- Issue
- Impact When using the derivationendpoint plugin, it's possible for the attacker to use a timing attack to guess the signature of the derivation URL. Patches The problem has been fixed by comparing sent and calculated signature in constant time, using Rack::Utils.securecompare. Users using the derivationendpoint plugin are urged to upgrade to Shrine 3.3.0 or greater. Workarounds Users of older Shrine versions can apply the following monkey-patch after loading the derivationendpoint plugin: References You can read more about timing attacks here.
Recommended action: Upgrade to 3.3.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.