CVE-2024-42355

Source
https://cve.org/CVERecord?id=CVE-2024-42355
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42355.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42355
Aliases
Published
2024-08-08T14:49:38.492Z
Modified
2026-02-22T01:38:34.802098Z
Severity
  • 8.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L CVSS Calculator
Summary
Shopware vulnerable to Server Side Template Injection in Twig using deprecation silence tag
Details

Shopware, an open ecommerce platform, has a new Twig Tag sw_silent_feature_call which silences deprecation messages while triggered in this tag. Prior to versions 6.6.5.1 and 6.5.8.13, it accepts as parameter a string the feature flag name to silence, but this parameter is not escaped properly and allows execution of code. 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
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42355.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-1336"
    ]
}
References

Affected packages

Git / 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
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "6.5.8.12"
        }
    ]
}
Type
GIT
Repo
https://github.com/shopware/core
Events
Database specific
{
    "versions": [
        {
            "introduced": "6.6.0.0"
        },
        {
            "last_affected": "6.6.5.0"
        }
    ]
}

Affected versions

v6.*
v6.0.0+ea1
v6.0.0+ea1.1
v6.0.0+ea2
v6.1.0-rc1
v6.1.0-rc2
v6.1.0-rc3
v6.5.8.10
v6.5.8.11
v6.5.8.12
v6.5.8.8
v6.5.8.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42355.json"

Git / 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
Introduced
Fixed

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42355.json"