Summary
PrestaShop module ps_facetedsearch might be vulnerable from CVE-2017-9841
Workarounds
Users can also simply remove the unwanted vendor/phpunit folder.
References
https://nvd.nist.gov/vuln/detail/CVE-2017-9841
For more information
If you have any questions or comments about this advisory, email us at [email protected]
Impact
We have identified that some ps_facetedsearch module ZIP archives have been built with phpunit dev dependencies. PHPUnit contains a php script that would allow, on a webserver, an attacker to perform a RCE.
This vulnerability impacts
- phpunit before 4.8.28 and 5.x before 5.6.3 as reported in CVE-2017-9841
- phpunit >= 5.63 before 7.5.19 and 8.5.1 (this is a newly found vulnerability that is currently being submitted as a CVE after disclosure was provided to phpunit maintainers)
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Already deployed Kodem?
See it in your environmentNew to Kodem? Get a demo →Remediation advice
In the security patch, we look for the unwanted vendor/phpunit folder and remove it if we find it. This allows users to fix the security issue when upgrading.
Frequently Asked Questions
- What is GHSA-F884-GM86-CG3Q? GHSA-F884-GM86-CG3Q is a high-severity security vulnerability in prestashop/ps_facetedsearch (composer), affecting versions < 3.4.1. It is fixed in 3.4.1.
- Which versions of prestashop/ps_facetedsearch are affected by GHSA-F884-GM86-CG3Q? prestashop/ps_facetedsearch (composer) versions < 3.4.1 is affected.
- Is there a fix for GHSA-F884-GM86-CG3Q? Yes. GHSA-F884-GM86-CG3Q is fixed in 3.4.1. Upgrade to this version or later.
- Is GHSA-F884-GM86-CG3Q exploitable, and should I be worried? Whether GHSA-F884-GM86-CG3Q is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether GHSA-F884-GM86-CG3Q is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix GHSA-F884-GM86-CG3Q? Upgrade
prestashop/ps_facetedsearchto 3.4.1 or later.