3.7
LOW
CVE-2019-9942
Twig Sandbox Information Disclosure Vulnerability
Description

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.

INFO

Published Date :

March 23, 2019, 3:29 p.m.

Last Modified :

April 5, 2022, 8:10 p.m.

Remotely Exploitable :

Yes !

Impact Score :

1.4

Exploitability Score :

2.2
Affected Products

The following products are affected by CVE-2019-9942 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Symfony twig
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2019-9942.

URL Resource
https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077 Patch Third Party Advisory
https://seclists.org/bugtraq/2019/Mar/60 Mailing List Third Party Advisory
https://symfony.com/blog/twig-sandbox-information-disclosure Patch Vendor Advisory
https://www.debian.org/security/2019/dsa-4419 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2019-9942 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-9942 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Apr. 05, 2022

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
    Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
    Changed Reference Type https://seclists.org/bugtraq/2019/Mar/60 No Types Assigned https://seclists.org/bugtraq/2019/Mar/60 Mailing List, Third Party Advisory
    Changed Reference Type https://symfony.com/blog/twig-sandbox-information-disclosure Vendor Advisory https://symfony.com/blog/twig-sandbox-information-disclosure Patch, Vendor Advisory
    Changed Reference Type https://www.debian.org/security/2019/dsa-4419 No Types Assigned https://www.debian.org/security/2019/dsa-4419 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CWE Remap by [email protected]

    Jul. 21, 2021

    Action Type Old Value New Value
    Changed CWE CWE-200 NVD-CWE-noinfo
  • CVE Modified by [email protected]

    Apr. 01, 2019

    Action Type Old Value New Value
    Added Reference https://seclists.org/bugtraq/2019/Mar/60 [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 29, 2019

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2019/dsa-4419 [No Types Assigned]
  • Initial Analysis by [email protected]

    Mar. 26, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:N/A:N)
    Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
    Changed Reference Type https://symfony.com/blog/twig-sandbox-information-disclosure No Types Assigned https://symfony.com/blog/twig-sandbox-information-disclosure Vendor Advisory
    Changed Reference Type https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077 No Types Assigned https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077 Patch, Third Party Advisory
    Added CWE CWE-200
    Added CPE Configuration OR *cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* versions up to (excluding) 1.38.0 *cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.7.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2019-9942 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2019-9942 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.16 }} -0.02%

score

0.52964

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability