Security Bulletin
This security bulletin contains one medium risk vulnerability.
EUVDB-ID: #VU67723
Risk: Medium
CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID: CVE-2022-39261
CWE-ID:
CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Exploit availability: No
DescriptionThe vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences when loading templates. A remote attacker can use the "source" or "include" statement to read arbitrary files on the system.
MitigationInstall update from vendor's website.
Vulnerable software versionsTwig: 1.0.0 - 3.4.2
CPE2.3https://github.com/twigphp/Twig/commit/35f3035c5deb0041da7b84daf02dea074ddc7a0b
https://github.com/twigphp/Twig/security/advisories/GHSA-52m2-vc4m-jj33
Q & A
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.