Information Exposure The advisory has been revoked - it doesn't affect any version of package php-twig  (opens in a new tab)


Threat Intelligence

EPSS
1.41% (69th 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-UBUNTU2004-PHPTWIG-637368
  • published23 Mar 2019
  • disclosed23 Mar 2019

Introduced: 23 Mar 2019

CVE-2019-9942  (opens in a new tab)
CWE-200  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:20.04.

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.

A sandbox information disclosure exists in Twig before 1.38.0 and 2.x before 2.7.0 because, under some circumstances, it is possible to call the __toString() method on an object even if not allowed by the security policy in place.