Authenticated code execution via unrestricted Oj.load deserialization
Published Sep 6, 2022 · Updated Apr 23, 2025
Insecure deserialization in CircuitVerse before commit 7b3023a allows remote authenticated users to execute arbitrary code via crafted JSON. The simulator update endpoint passes params[:data] into sanitize_data, where unrestricted Oj.load constructs attacker-selected Ruby objects. A valid session and an assignment-backed project are required; successful gadget-chain execution runs code in the server process.
Summary
What happened
Insecure deserialization in CircuitVerse before commit 7b3023a allows remote authenticated users to execute arbitrary code via crafted JSON. The simulator update endpoint passes params[:data] into sanitize_data, where unrestricted Oj.load constructs attacker-selected Ruby objects. A valid session and an assignment-backed project are required; successful gadget-chain execution runs code in the server process.
The record
- CVE
- CVE-2022-36038
- Published
- Sep 6, 2022
- Updated
- Apr 23, 2025
- Vendor
- CircuitVerse
- Product
- CircuitVerse
- Classifications
- CWE-502, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 6, 2022CVE publishedPublication date reported by the CVE source.
- Apr 23, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 7b3023a99499a7675f10f2c1d9effdf10c35fb6e
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GitHub Security Lab Ruby 2.x Oj.load proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo