What’s Vulnerable › Vulnerabilities
CVE-2020-36315
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-04-07 · updated 2026-06-17
- Weakness: CWE-327
Description
In RELIC before 2020-08-01, RSA PKCS#1 v1.5 signature forgery can occur because certain checks of the padding (and of the first two bytes) are inadequate. NOTE: this requires that a low public exponent (such as 3) is being used. The product, by default, does not generate RSA keys with such a low number.
Affected products
- Relic Project Relic: before 2020-08-01 — fixed in 2020-08-01
How to fix
Upgrade to a fixed version: Relic Project Relic 2020-08-01. Check the vendor advisory for mitigations.
References
- https://github.com/relic-toolkit/relic/
- https://github.com/relic-toolkit/relic/commit/76c9a1fdf19d9e92e566a77376673e522aae9f80
- https://github.com/relic-toolkit/relic/issues/154
- https://github.com/relic-toolkit/relic/tree/32eb4c257fc80328061d66639b1cdb35dbed51a2
- https://github.com/relic-toolkit/relic/
- https://github.com/relic-toolkit/relic/commit/76c9a1fdf19d9e92e566a77376673e522aae9f80
- https://github.com/relic-toolkit/relic/issues/154
- https://github.com/relic-toolkit/relic/tree/32eb4c257fc80328061d66639b1cdb35dbed51a2
Get alerted when CVE-2020-36315 or the next vulnerability affects your stack