CVE-2024-45411 Affecting php-twig package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.07% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2404-PHPTWIG-7925730
  • published7 Apr 2025
  • disclosed9 Sept 2024

Introduced: 9 Sep 2024

CVE-2024-45411  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:24.04 php-twig.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-twig package and not the php-twig package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

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 Base Scores

version 3.1