Security mailing lists by PureSourceCode

CVE-2024-42354

MEDIUM 5.9CVSS 3.1

Shopware vulnerable to Improper Access Control with ManyToMany associations in store-api

Shopware is an open commerce platform. The store-API works with regular entities and not expose all fields for the public API; fields need to be marked as ApiAware in the EntityDefinition. So only ApiAware fields of the EntityDefinition will be encoded to the final JSON. Prior to versions 6.6.5.1 and 6.5.8.13, the processing of the Criteria did not considered ManyToMany associations and so they were not considered properly and the protections didn't get used. This issue cannot be reproduced with the default entities by Shopware, but can be triggered with extensions. Update to Shopware 6.6.5.1 or 6.5.8.13 to receive a patch. For older versions of 6.2, 6.3, and 6.4, corresponding security measures are also available via a plugin.

Published
8 Aug 2024
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-284
Also known as
GHSA-hhcq-ph6w-494g
Sources
NVDJSONOSV GHSA-hhcq-ph6w-494gJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD shopware shopware
cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*
< 6.5.8.13 6.5.8.13
NVD shopware shopware
cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*
>= 6.6.0.0, < 6.6.5.1 6.6.5.1
OSV Packagist shopware/core < 6.5.8.13 6.5.8.13
OSV Packagist shopware/platform < 6.5.8.13 6.5.8.13
OSV Packagist shopware/core >= 6.6.0.0, < 6.6.5.1 6.6.5.1
OSV Packagist shopware/platform >= 6.6.0.0, < 6.6.5.1 6.6.5.1

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 8 Aug 2024)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 8 Aug 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.