GitHub Advisoryadvisory · Packagist

GHSA-vxrc-68xx-x48g Twig Sandbox Information Disclosure

LOW Published 2022-03-26 Modified 2023-09-21 Official page ↗
Aliases
CVE-2019-9942
Ecosystem
Packagist
Packages
twig/twig
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-200
Reviewed
2022-03-26

Affected packages

• Packagist twig/twig: < 1.38.0 → fixed in 1.38.0 • Packagist twig/twig: >= 2.0.0, < 2.7.0 → fixed in 2.7.0

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.

Related

Alias · CVE (1)

  • CVE-2019-9942 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… vulnerability

Weakness · CWE (1)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness

References