Advisory

GHSA-h2wm-p2vg-6pw4

Also known as: CVE-2023-27531

Summary

Kredis JSON Possible Deserialization of Untrusted Data Vulnerability

Details

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!

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-06-09 22:40 UTC
Modified
2025-01-10 18:47 UTC

Affected packages and fixes

kredis

RubyGems · All systems

Affected

  • introduced 0, fixed 1.3.0.1 (ecosystem)

Fixed versions

1.3.0.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences