CVE-2024-45411: symfony twig Protection Mechanism Failure
CVSS: 8.6v3.1HighModified
AliasesUBUNTU-CVE-2024-45411USN-7549-1DEBIAN-CVE-2024-45411DLA-3888-1DSA-5771-1
Published 09-09-2024Last modified 16-09-2024
Vulnerability summary
CVE-2024-45411 is a high (CVSS 8.6) Protection Mechanism Failure vulnerability in symfony twig. EPSS estimates a 0.85% chance of exploitation in the next 30 days, higher than 57.4% of scored vulnerabilities.
CVSS score
8.6/10
010
High · v3.1 (CVE.org)EPSS score
0.85%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 09-09-2024PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
Description
Twig is a template language for PHP. Under some circumstances, the sandbox security checks are not run which allows user-contributed templates to bypass the sandbox restrictions. This vulnerability is fixed in 1.44.8, 2.16.1, and 3.14.0.
CVSS metrics
5 scores · 5 sources · 1 versionHigh 8.6Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HSources5 sources · 6.5–8.6
- OSV · UbuntuEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
- NVDNIST8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
- wordfenceSource6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.85%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
0.00 pp
From 0.85% on 20-09-2026
20-09-202620-10-2026
EPSS score0.85%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-693Protection Mechanism FailureThe product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.
- CWE-1395Dependency on Vulnerable Third-Party ComponentThe product has a dependency on a third-party component that contains one or more known vulnerabilities.
Affected systems
Ubuntu2 products
- php-twigAll versions (No fix recorded) | < 3.3.8-2ubuntu4+esm2 | < 3.8.0-2ubuntu0.1~esm1 | < 3.8.0-2ubuntu1
- twigAll versions (No fix recorded)
Debian1 product
- php-twig< 3.8.0-4 | < 3.5.1-1+deb12u1 | < 2.14.3-1+deb11u3
Symfony1 product
- twig≥ 1.0.0, < 1.44.8 | ≥ 2.0.0, < 2.16.1 | ≥ 3.0.0, < 3.14.0
Twigphp1 product
- twig> 1.0.0, < 1.44.8 | > 2.0.0, < 2.16.1 | > 3.0.0, < 3.14.0
Wordpress1 product
- timber-library≤ 1.23.1 (fixed in 1.23.3)
5 vendors · 6 products
References
11 links- github.com/twigphp/Twig/security/advisories/GHSA-6j75-5wfj-gh66X Refsource CONFIRMREPORTVendor Advisory