Approved changes feed: RSS · Atom

cpe:2.3:a:update_by_case_project:update_by_case:*:*:*:*:*:ruby:*:*

part: a version: * update: *

VendorUpdate By Case Project (4d729636-1675-53e0-a890-072196955294)
ProductUpdate By Case (49ccc374-9f92-5ece-8cbe-39d6b0be0585)
Edition*
Language*
Software edition*
Target softwareruby
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2022-35956 vulnerable 2026-06-08 05:46:06.055934 update_by_case before 0.1.3 vulnerable to sql injection
MEDIUM (5.8)
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.
Published: 2022-08-12T20:50:08.000Z
Updated: 2025-04-23T17:50:56.051Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.