CVE-2024-42354

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-42354
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42354.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-42354
Aliases
Published
2024-08-08T14:44:24Z
Modified
2025-11-03T18:33:49Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Shopware vulnerable to Improper Access Control with ManyToMany associations in store-api
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-284"
    ]
}
References

Affected packages

Git

github.com/shopware/platform

Affected ranges

Type
GIT
Repo
https://github.com/shopware/platform
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

github.com/shopware/shopware

Affected ranges

Type
GIT
Repo
https://github.com/shopware/shopware
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

github.com/shopware/core

Affected ranges

Type
GIT
Repo
https://github.com/shopware/core
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed