Loading...
Skip to main content

CVE-2023-27531 — Vulnerability in kredis — CVE Details

MEDIUM

Kredis JSON Possible Deserialization of Untrusted Data Vulnerability

Published June 9, 2023Updated January 10, 2025Source: osv

Summary

There is a deserialization of untrusted data vulnerability in the Kredis JSON deserialization code. This vulnerability has been assigned the CVE identifier CVE-2023-27531. 'Not affected: None.' 'Versions Affected: All.' 'Fixed Versions: 1.3.0.1' Impact Carefully crafted JSON data processed by Kredis may result in deserialization of untrusted data, potentially leading to deserialization of unexpected objects in the system. Any applications using Kredis with JSON are affected. Releases The fixed releases are available at the normal locations. Workarounds There are no feasible workarounds for this issue. Patches To aid users who aren’t able to upgrade immediately we have provided patches for the two supported release series. They are in git-am format and consist of a single changeset. * 1-3-0-1-kredis.patch - Patch for 1.3.0 series Credits Thank you ooooooo_k 7 for reporting this!

Advisory Timeline

  • First published June 9, 2023 (1221 days ago).
  • Last revised January 10, 2025 — 581 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update kredis to 1.3.0.1 or later
gem install kredis -v 1.3.0.1

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
kredis
rubygems
0.1.0, 0.1.1, 0.1.2, 0.2.0 (+11 more)1.3.0.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.3 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Frequently Asked Questions

What is CVE-2023-27531?
Kredis JSON Possible Deserialization of Untrusted Data Vulnerability This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.3/10).
How do I check if my project is affected by CVE-2023-27531?
CVE-2023-27531 affects kredis. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-27531 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
5.3

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-h2wm-p2vg-6pw4

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies