CVE-2023-27531
Ruby vulnerability analysis and mitigation

Overview

A deserialization of untrusted data vulnerability was discovered in the Kredis JSON deserialization code, identified as CVE-2023-27531. The vulnerability affects all versions of Kredis prior to version 1.3.0.1, which was released in March 2023. Any applications using Kredis with JSON functionality are potentially vulnerable (Ruby Rails).

Technical details

The vulnerability is classified as CWE-502 (Deserialization of Untrusted Data) with a CVSS v3.1 Base Score of 5.3 (MEDIUM). The attack vector is network-based (AV:N) with low attack complexity (AC:L), requiring no privileges (PR:N) or user interaction (UI:N). The scope is unchanged (S:U) with low confidentiality impact (C:L) and no impact on integrity (I:N) or availability (A:N) (NVD).

Impact

When exploited, the vulnerability could allow carefully crafted JSON data processed by Kredis to result in deserialization of untrusted data, potentially leading to deserialization of unexpected objects in the system (Ruby Rails).

Mitigation and workarounds

The vulnerability has been fixed in Kredis version 1.3.0.1. There are no feasible workarounds for this issue, and users are strongly advised to upgrade to the fixed version. Patches have been provided for supported release series in git-am format for users unable to upgrade immediately (Ruby Rails).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-4249-gjr8-jpq3HIGH8.7
  • RubyRuby
  • prosemirror_to_html
NoYesNov 13, 2025
CVE-2025-64501HIGH7.6
  • RubyRuby
  • prosemirror_to_html
NoYesNov 10, 2025
GHSA-vfpf-xmwh-8m65HIGH7.6
  • RubyRuby
  • prosemirror_to_html
NoYesNov 07, 2025
GHSA-52c5-vh7f-26fxHIGH7.6
  • RubyRuby
  • prosemirror_to_html
NoYesNov 06, 2025
CVE-2025-12790HIGH7.4
  • RubyRuby
  • mqtt
NoYesNov 06, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management