solidus_api is vulnerable to Improper Enforcement of Behavioral Workflow
53
Medium Risk
Spree::Api::CheckoutsController#update_order_state sets @order.state directly from the client supplied params[:state] without checking that the order is in the target state or has already passed it. A caller can set an order's checkout state to skip steps such as payment or confirmation. The fix only applies the requested state when Spree::Api::Config.allow_arbitrary_state_in_checkout is enabled or the order has already passed that step, and otherwise responds with a 422 invalid state error.
You are affected if you are using a version that falls within the vulnerable range.
solidus_api is vulnerable to Improper Enforcement of Behavioral Workflow in versions 0.0.1 - 4.6.3 and 4.7.0 - 4.7.1.
Upgrade the solidus_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.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.