Bug 1692778 (CVE-2019-9942) - CVE-2019-9942 php-twig: sandbox information disclosure
Summary: CVE-2019-9942 php-twig: sandbox information disclosure
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2019-9942
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=low,public=20190312,reported=2...
Depends On: 1692779 1692780
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-26 12:15 UTC by Dhananjay Arunesh
Modified: 2019-06-10 10:52 UTC (History)
2 users (show)

Fixed In Version: Twig 1.38.0, Twig 2.7.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:52:02 UTC


Attachments (Terms of Use)

Description Dhananjay Arunesh 2019-03-26 12:15:14 UTC
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.

Reference:
https://symfony.com/blog/twig-sandbox-information-disclosure

Upstream commit:
https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077

Comment 1 Dhananjay Arunesh 2019-03-26 12:17:17 UTC
Created php-twig tracking bugs for this issue:

Affects: epel-all [bug 1692779]

Comment 2 Dhananjay Arunesh 2019-03-26 12:17:39 UTC
Created php-twig tracking bugs for this issue:

Affects: fedora-all [bug 1692780]

Comment 3 Product Security DevOps Team 2019-06-10 10:52:02 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.