CVE-2022-31181: PrestaShop eval injection possible if shop vulnerable to SQL injection

CVE-2022-31181 · Severity: low · CVSS 3.1 · Published 2022-07-29

PrestaShop eval injection possible if shop vulnerable to SQL injection

Technologies: prestashop/prestashop (Packagist). Vendors: Packagist.

Quick answers

Is CVE-2022-31181 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-31181 being exploited in the wild.
How severe is CVE-2022-31181?
Low severity, with a CVSS score of 3.1, published 29 July 2022.
Which products and versions are affected?
prestashop/prestashop (Packagist) ECOSYSTEM:introduced=1.6.0.10,fixed=1.7.8.7.
Is there a fix for CVE-2022-31181?
Yes. prestashop/prestashop (Packagist): upgrade to 1.7.8.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-31181?
Check whether you run prestashop/prestashop (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • prestashop/prestashop (Packagist): upgrade to 1.7.8.7 or later
    composer require prestashop/prestashop:^1.7.8.7

Affected products

  • prestashop/prestashop (Packagist) ECOSYSTEM:introduced=1.6.0.10,fixed=1.7.8.7

Identifiers

  • CVE-2022-31181
  • GHSA-hrgx-p36p-89q4

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.