shopify_api is vulnerable to Unsafe Deserialization
66
Medium Risk
Affected versions of this package are vulnerable to unsafe deserialization because the Session.deserialize method uses Oj.load without safe mode, allowing instantiation of arbitrary Ruby objects from untrusted serialized data. This may allow an attacker who can influence the serialized session payload to trigger unintended object creation during deserialization. The issue is mitigated by removing the Session.serialize and Session.deserialize methods, which are no longer necessary since session storage is the responsibility of the application and sessions should be reconstructed explicitly using Session.new() with individually stored attributes.
You are affected if you are using a version that falls within the vulnerable range and you are using the Session.deserialize function.
shopify_api is vulnerable to Unsafe Deserialization in versions 10.0.0 - 15.0.0.
Upgrade the shopify_api library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant