2.2

CVE-2024-51755: twigphp twig Exposure of Resource to Wrong Sphere

CVSS: 2.2v3.1LowDeferred
AliasesUBUNTU-CVE-2024-51755DEBIAN-CVE-2024-51755
Published 06-11-2024Last modified 07-11-2024

Vulnerability summary

CVE-2024-51755 is a low (CVSS 2.2) Exposure of Resource to Wrong Sphere vulnerability in twigphp twig. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 35.4% of scored vulnerabilities.

Overall risk
9/100
0100
Minimal · default modelHow is this calculated?
CVSS score
2.2/10
010
Low · v3.1 (CVE.org)
EPSS score
0.43%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 06-11-2024
    PublishedVulnerability first disclosed.
  2. 07-11-2024
    Last modifiedVulnerability information updated.

Description

Twig is a template language for PHP. In a sandbox, an attacker can access attributes of Array-like objects as they were not checked by the security policy. They are now checked via the property policy and the `__isset()` method is now called after the security check. This is a BC break. This issue has been patched in versions 3.11.2 and 3.14.1. All users are advised to upgrade. There are no known workarounds for this issue.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.43%

Chance of exploitation in the next 30 days

Percentile

35%

Versus all other CVEs

30-day change

0.00 pp

From 0.43% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.43%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu2 products
  • php-twigAll versions (No fix recorded)
  • twigAll versions (No fix recorded)
Debian1 product
  • php-twigAll versions (No fix recorded) | < 3.14.2-1
Twigphp1 product
  • twig< 3.11.2 | ≥ 3.12.0, < 3.14.1

3 vendors · 4 products

References

5 links