CVE-2022-35956 — Vulnerability in update_by_case — CVE Details
update_by_case before 0.1.3 can be vulnerable to sql injection
Summary
Advisory Timeline
- First published August 11, 2022 (1523 days ago).
- Last revised November 8, 2023 — 453 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install update_by_case -v 0.1.3
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| update_by_case | rubygems | All versions | 0.1.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L
References
- https://github.com/camilova/activerecord-update-by-case/security/advisories/GHSA-33wh-w4m7-c6r8WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-35956ADVISORY
- https://github.com/camilova/activerecord-update-by-casePACKAGE
- https://github.com/camilova/activerecord-update-by-case/releases/tag/v0.1.3-stableWEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/update_by_case/CVE-2022-35956.ymlWEB
Frequently Asked Questions
- What is CVE-2022-35956?
- update_by_case before 0.1.3 can be vulnerable to sql injection This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.8/10).
- How do I check if my project is affected by CVE-2022-35956?
- CVE-2022-35956 affects update_by_case. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-35956 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2026-107715MEDIUM
Mechanize sends credential headers to another host after an HTTP redirect
- CVE-2026-107399MEDIUM
Mechanize sends credential headers to another origin after a meta refresh
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies