Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-35956

5.8 · MEDIUM
Published Aug 12, 2022 update_by_case_project CWE-89 EPSS 0.62% (47th pctl)

Overview

CVE-2022-35956 is a medium-severity vulnerability affecting update_by_case_project update_by_case. It was published on August 12, 2022 and has a CVSS 3.1 base score of 5.8 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.8, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from update_by_case_project. Update update_by_case to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
update_by_case_project update_by_case >= 0, < 0.1.3 Affected

Frequently Asked Questions

What is CVE-2022-35956?

CVE-2022-35956 is a medium-severity vulnerability affecting update_by_case_project update_by_case. It was published on August 12, 2022 and has a CVSS 3.1 base score of 5.8 (MEDIUM).

How severe is CVE-2022-35956?

This vulnerability has a CVSS 3.1 base score of 5.8, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-35956?

Check the references section for vendor advisories and patches from update_by_case_project. Update update_by_case to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-35956?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-35956 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.