SCA: security update for update_by_case (GHSA-33wh-w4m7-c6r8)

critical Tenable Cloud Security Plugin ID 409260

Description

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

- This Rails gem adds two methods to the ActiveRecord::Base class that allow you to update many records on a
single database hit, using a case sql statement for it. Before version 0.1.3 `update_by_case` gem used
custom sql strings, and it was not sanitized, making it vulnerable to sql injection. Upgrade to version >=
0.1.3 that uses `Arel` instead to construct the resulting sql statement, with sanitized sql.
(CVE-2022-35956)

See Also

https://github.com/advisories/GHSA-33wh-w4m7-c6r8

Plugin Details

Severity: Critical

ID: 409260

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.15

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2022-35956

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 8/11/2022

Vulnerability Publication Date: 8/11/2022

Reference Information

CVE: CVE-2022-35956

cwe: CWE-89