Information disclosure in Twig - CVE-2019-9942

 

Information disclosure in Twig - CVE-2019-9942

Published: March 13, 2023


Vulnerability identifier: #VU73271
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-9942
CWE-ID: CWE-200
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to sandbox information disclosure via the __toString() method call on an object that even can be disabled by the security policy in place. A remote attacker can gain unauthorized access to sensitive information on the system.


Affected software

Twig
Ubuntu
php-twig (Ubuntu package)

How to mitigate CVE-2019-9942

Install updates from vendor's website.

Twig - addressed in versions 1.38.0, 2.7.0
php-twig (Ubuntu package) - update to Ubuntu Pro

External References

Related Security Bulletins