Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-15237
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:54 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-15237
Complete source record
{
"id": "6be07555ea1c0028a94fada7ddb98be528bb0749bcc220f7df270951492ede12",
"url": "https://osv.dev/vulnerability/CVE-2020-15237",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-15237",
"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.",
"evidence": "osv:CVE-2020-15237",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-15237",
"aliases": [
"CVE-2020-15237",
"GHSA-5jjv-x4fq-qjwp"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/shrinerb/shrine",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "c195329ab48d011010b06a6062d888744ceb3be0"
},
{
"fixed": "1b27090ce31543bf39f186c20ea47c8250fca2f0"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:shrinerb:shrine:*:*:*:*:*:ruby:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.3.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "1b27090ce31543bf39f186c20ea47c8250fca2f0"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v3.2.1",
"v3.2.0",
"v3.1.0",
"v3.0.1",
"v3.0.0",
"v3.0.0.rc",
"v3.0.0.beta3",
"v3.0.0.beta2",
"v3.0.0.beta",
"v3.0.0.alpha",
"v2.19.0",
"v2.18.0",
"v2.17.1",
"v2.17.0",
"v2.16.0",
"v2.15.0",
"v2.14.0",
"v2.13.0",
"v2.12.0",
"v2.11.0",
"v2.10.0",
"v2.9.0",
"v2.8.0",
"v2.7.0",
"v2.6.1",
"v2.6.0",
"v2.5.0",
"v2.4.1",
"v2.4.0",
"v2.3.1",
"v2.3.0",
"v2.2.0",
"v2.1.1",
"v2.1.0",
"v2.0.1",
"v2.0.0",
"v1.4.2",
"v1.4.1",
"v1.4.0",
"v1.3.0",
"v1.2.0",
"v1.1.0",
"v1.0.0",
"v0.9.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15237.json"
}
}
],
"modified": "2026-10-20T10:52:00.117109592Z",
"provider": "osv",
"references": [
"https://github.com/shrinerb/shrine/security/advisories/GHSA-5jjv-x4fq-qjwp",
"https://github.com/shrinerb/shrine/commit/1b27090ce31543bf39f186c20ea47c8250fca2f0"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-15237",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383196,
"published_at": "2020-10-05T19:15:15.103+00:00"
}