UBUNTU-CVE-2019-9942
Dashboard / Vulnerabilities / UBUNTU-CVE-2019-9942
UBUNTU-CVE-2019-9942
Published: 23 Mar 2019Last Modified: 4 Feb 2026
Upstream:
Aliases:
Summary:
Details: 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.
References: https://ubuntu.com/security/CVE-2019-9942, https://github.com/twigphp/Twig/commit/eac5422956e1dcca89a3669a03a3ff32f0502077, https://symfony.com/blog/twig-sandbox-information-disclosure, https://ubuntu.com/security/notices/USN-5947-1, https://www.cve.org/CVERecord?id=CVE-2019-9942
Affected packages
Package
Name: twig
Purl: pkg:deb/ubuntu/[email protected]+esm1?arch=source&distro=esm-apps/xenial
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -1.23.1-1ubuntu4+esm1
Affected versions
1.20.0-1
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
