Skip to main content
← All vulnerabilities
CVE-2020-15237GHSA-5JJV-X4FQ-QJWP

Timing attack in Shrine

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.3.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • shrinerb shrine

    fixed in 3.3.0

  • shrineRubyGems

    fixed in 3.3.0

References 2

GitHub · shrinerb/shrine