{"answers":{"affected":"2 open source packages ship an affected version, including kredis.","exploited":"There is no known exploitation of CVE-2023-27531 in the wild and no public exploit code.","fix":"Upgrade kredis to 1.3.0.1 or later.","what":"CVE-2023-27531 is a medium-severity unsafe deserialization vulnerability in Rails Kredis JSON, published on 9 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-27531 and fix it if it is affected.\n\nWhat it is: CVE-2023-27531 is a medium-severity unsafe deserialization vulnerability in Rails Kredis JSON, published on 9 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-27531 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- kredis (RubyGems): affected all versions; fixed in 1.3.0.1\n- kredis (RubyGems): affected all versions; fixed in 1.3.0.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-27531/ (Markdown: https://insights.sbomify.com/CVE-2023-27531/index.md)","id":"CVE-2023-27531","markdown":"https://insights.sbomify.com/CVE-2023-27531/index.md","name":"CVE-2023-27531","record":{"aliases":["GHSA-h2wm-p2vg-6pw4"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby Kredis JSON library","requires_auth":"none","summary":"Attackers can execute arbitrary code via deserialization of untrusted data in the Kredis JSON library for Ruby on Rails.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hackerone","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"There is a deserialization of untrusted data vulnerability in the Kredis JSON deserialization code","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Kredis JSON Possible Deserialization of Untrusted Data Vulnerability","id":"CVE-2023-27531","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"deserialization","year":"2023"},"n_packages":2,"n_references":1,"next":{"headline":"Veeam Backup \u0026 Replication Cloud Connect Missing Authentication for Critical Function","id":"CVE-2023-27532"},"packages":[{"ecosystem":"RubyGems","fixed":["1.3.0.1"],"introduced":["0"],"last_affected":[],"package":"kredis","purl":null,"source":"GHSA-h2wm-p2vg-6pw4"},{"ecosystem":"RubyGems","fixed":["1.3.0.1"],"introduced":["0"],"last_affected":[],"package":"kredis","purl":"pkg:gem/kredis","source":"GHSA-h2wm-p2vg-6pw4"}],"prev":{"headline":"Rack has possible DoS Vulnerability in Multipart MIME parsing","id":"CVE-2023-27530"},"products":["Kredis JSON"],"published":"2025-01-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-09","vendors":["Rails"]},"summary":"Attackers can execute arbitrary code via deserialization of untrusted data in the Kredis JSON library for Ruby on Rails.","url":"https://insights.sbomify.com/CVE-2023-27531/"}