Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Twig 2.16.x & 3.9.0-3.25.x Sandbox Bypass via SourcePolicyInterface
Vulnerability Description
Twig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attackers with template rendering capabilities to pass arbitrary PHP callables to sort, filter, map, and reduce filters. Attackers can exploit the runtime check that fails to use the current template source to bypass sandbox restrictions and execute arbitrary code when the sandbox is enabled through a source policy rather than globally.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
保护机制失效
Vulnerability Title
Twig 安全漏洞
Vulnerability Description
Twig是Twig开源的一个PHP模板引擎。 Twig 2.16.x版本和3.9.0至3.25.x版本存在安全漏洞,该漏洞源于使用SourcePolicyInterface时沙箱绕过,可能导致攻击者绕过沙箱限制并执行任意代码。
CVSS Information
N/A
Vulnerability Type
N/A