QID 983087
QID 983087: Java (maven) Security Update for com.shopizer:sm-core-model (GHSA-w8rc-pgxq-x2cj)
Security update has been released for com.shopizer:sm-core-model to fix the vulnerability.
Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.
Using API or Controller based versions negative quantity is not adequately validated hence creating incorrect shopping cart and order total.
Solution
Adding a back-end verification to check that quantity parameter isn't negative. If so, it is set to 1. Patched in 2.11.0Workaround:
Without uprading, it's possible to just apply the fixes in the same files it's done for the patch. Or you use javax constraint validation on the quantity parameter.
Without uprading, it's possible to just apply the fixes in the same files it's done for the patch. Or you use javax constraint validation on the quantity parameter.
Vendor References
- GHSA-w8rc-pgxq-x2cj -
github.com/advisories/GHSA-w8rc-pgxq-x2cj
CVEs related to QID 983087
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-w8rc-pgxq-x2cj | com.shopizer:sm-core-model |
|