CVE-2020-5257
HIGHDescription
In Administrate (rubygem) before version 0.13.0, when sorting by attributes on a dashboard, the direction parameter was not validated before being interpolated into the SQL query. This could present a SQL injection if the attacker were able to modify the `direction` parameter and bypass ActiveRecord SQL protections. Whilst this does have a high-impact, to exploit this you need access to the Administrate dashboards, which we would expect to be behind authentication. This is patched in wersion 0.13.0.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 56% of all known CVEs.
References
Related Vulnerabilities
Other CWE-943 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2017-12904 | High | 8.8 | 6.4% | - | Fix |
| CVE-2020-36195 | Critical | 9.8 | 1.8% | - | Fix |
| CVE-2018-7829 | High | 8.8 | 1.7% | - | Fix |
| CVE-2021-1349 | Medium | 6.5 | 1.4% | - | Fix |
| CVE-2018-19952 | High | 7.5 | 1.3% | - | Fix |
| CVE-2022-36084 | Critical | 9.9 | 1.2% | - | Fix |
Common questions
How do I fix CVE-2020-5257?
Upgrade administrate to 0.13.0 or later.
Is CVE-2020-5257 being actively exploited?
Not that we know of. CVE-2020-5257 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.90% is the estimated probability that it will be exploited in the next 30 days. That is higher than 56% of all scored CVEs.
How severe is CVE-2020-5257?
CVE-2020-5257 has a CVSS v3 base score of 7.7, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2020-5257 affect?
Published advisories record a fix for administrate (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2020-5257
Markdown
[](https://tridentstack.com/cve/CVE-2020-5257)HTML
<a href="https://tridentstack.com/cve/CVE-2020-5257"><img src="https://tridentstack.com/cve/badge/CVE-2020-5257.svg" alt="CVE-2020-5257"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.