SCA: security update for administrate (GHSA-2p5p-m353-833w)

high Tenable Cloud Security Plugin ID 422161

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2020-5257)

See Also

https://github.com/advisories/GHSA-2p5p-m353-833w

Plugin Details

Severity: High

ID: 422161

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 3/28/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.04

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.1

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N

CVSS Score Source: CVE-2020-5257

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/13/2020

Vulnerability Publication Date: 3/13/2020

Reference Information

CVE: CVE-2020-5257

cwe: CWE-943