solidus_api is vulnerable to Improper Enforcement of Behavioral Workflow
53
CVE Score
Medium
Improper Enforcement of Behavioral Workflow
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.
Upgrade the solidus_api library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.0.1 - 4.6.3
Fixed in 4.6.44.7.0 - 4.7.1
Fixed in 4.7.2solidus_api is vulnerable to Improper Enforcement of Behavioral Workflow in versions 0.0.1 - 4.6.3 and 4.7.0 - 4.7.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
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.