Arbitrary Code Injection The advisory has been revoked - it doesn't affect any version of package twig  (opens in a new tab)


Threat Intelligence

EPSS
6.9% (94th 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-UBUNTU1804-TWIG-651041
  • published10 Sept 2020
  • disclosed10 Jul 2018

Introduced: 10 Jul 2018

CVE-2018-13818  (opens in a new tab)
CWE-94  (opens in a new tab)

Amendment

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

NVD Description

Note: Versions mentioned in the description apply only to the upstream twig package and not the twig package as distributed by Ubuntu.

Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. NOTE: the vendor points out that Twig itself is not a web application and states that it is the responsibility of web applications using Twig to properly wrap input to it