Moderate severityNVD Advisory· Published Oct 5, 2020· Updated Aug 4, 2024
Timing attack in Shrine
CVE-2020-15237
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
shrineRubyGems | < 3.3.0 | 3.3.0 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-5jjv-x4fq-qjwpghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-15237ghsaADVISORY
- github.com/rubysec/ruby-advisory-db/blob/master/gems/shrine/CVE-2020-15237.ymlghsaWEB
- github.com/shrinerb/shrine/commit/1b27090ce31543bf39f186c20ea47c8250fca2f0ghsax_refsource_MISCWEB
- github.com/shrinerb/shrine/security/advisories/GHSA-5jjv-x4fq-qjwpghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.