CVE-2023-27531
Kredis JSON Possible Deserialization of Untrusted Data Vulnerability
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
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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE 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
discuss.rubyonrails.org/t/cve-2023-27531-possible-deserialization-of-untrusted-data-vulnerability-in-kredis-json/82467
github.com/rails/kredis/commit/d576b7ae5c8d3d74eeb4bd84cad0aa64ffc299fa
github.com/rails/kredis/releases/tag/v1.3.0.1
github.com/rubysec/ruby-advisory-db/blob/master/gems/kredis/CVE-2023-27531.yml
nvd.nist.gov/vuln/detail/CVE-2023-27531
github.com/advisories/GHSA-h2wm-p2vg-6pw4
github.com/rails/kredis