Every CVE Search/ Get API key

CVE-2023-27531

Kredis JSON Possible Deserialization of Untrusted Data Vulnerability

5.3 MediumFix available

There is a deserialization of untrusted data vulnerability in the Kredis JSON deserialization code

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

Exploit likelihood

0.54%Up 0.5 points since Jan 9, 2025
90%50%10%1%

What each source reports

CVE List Score used 5.3

There is a deserialization of untrusted data vulnerability in the Kredis JSON deserialization code

Record
CVE-2023-27531
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-502
Updated
2026-11-02
EUVDEUVD-2023-1812 5.3

There is a deserialization of untrusted data vulnerability in the Kredis JSON deserialization code

Record
EUVD-2023-1812
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-h2wm-p2vg-6pw4 5.3

Kredis JSON Possible Deserialization of Untrusted Data Vulnerability

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!

Record
GHSA-h2wm-p2vg-6pw4
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-502
Updated
2026-11-02
NVD 5.3

There is a deserialization of untrusted data vulnerability in the Kredis JSON deserialization code

Record
CVE-2023-27531
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-502
Updated
2026-11-02
OSVGHSA-h2wm-p2vg-6pw4 5.3

Kredis JSON Possible Deserialization of Untrusted Data Vulnerability

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!

Record
GHSA-h2wm-p2vg-6pw4
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-502
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
kredis
RubyGems
before 1.3.0.1
1.3.0.1
kredis
RubyGems
before 1.3.0.1, plus listed versions
0.1.00.1.10.1.20.2.00.2.1
Show 10 moreShow less
0.2.20.2.30.3.00.3.10.4.01.0.01.0.11.1.01.2.01.3.0
1.3.0.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-27531 is a medium vulnerability (CVSS 5.3) in Rails Kredis Json, published June 9, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.54%, the 45th percentile. Fixed in kredis 1.3.0.1.

References

MoveEnter Open