National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2019-9942 Detail

Current 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.

Source:  MITRE
Description Last Modified:  03/23/2019
View Analysis Description

Impact

CVSS v3.0 Severity and Metrics:

Base Score: 3.7 LOW
Vector: AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N (V3 legend)
Impact Score: 1.4
Exploitability Score: 2.2


Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope (S): Unchanged
Confidentiality (C): Low
Integrity (I): None
Availability (A): None

CVSS v2.0 Severity and Metrics:

Base Score: 4.3 MEDIUM
Vector: (AV:N/AC:M/Au:N/C:P/I:N/A:N) (V2 legend)
Impact Subscore: 2.9
Exploitability Subscore: 8.6


Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (AU): None
Confidentiality (C): Partial
Integrity (I): None
Availability (A): None
Additional Information:
Allows unauthorized disclosure of information

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

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

Technical Details

Vulnerability Type (View All)

  • Information Leak / Disclosure (CWE-200)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
1.38.0
 cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
From (including)
2.0.0
Up to (excluding)
2.7.0


Change History

3 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2019-9942
NVD Published Date:
03/23/2019
NVD Last Modified:
04/01/2019