8.7 HIGH
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Vulnerable System Impact Confidentiality (VC): High (H)
- Vulnerable System Impact Integrity (VI): High (H)
- Vulnerable System Impact Availability (VA): High (H)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Vulnerable System Impact Confidentiality (MVC): High (H)
- Modified Vulnerable System Impact Integrity (MVI): High (H)
- Modified Vulnerable System Impact Availability (MVA): High (H)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
by @LeSuisse Activity log
- Created suggestion
- @LeSuisse dismissed (not in Nixpkgs)
Twig 2.16.x & 3.9.0-3.25.x Sandbox Bypass via SourcePolicyInterface
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.
References
-
https://github.com/twigphp/Twig/releases/tag/v3.26.0 release-notes
-
https://www.vulncheck.com/advisories/twig-x-x-sandbox-bypass-via-sourcepolicyin… third-party-advisory
Affected products
- ==2.16.*
- <3.26.0
Matching in nixpkgs
pkgs.twiggy
Code size profiler for Wasm
pkgs.ludtwig
Linter / Formatter for Twig template files which respects HTML and your time
pkgs.bitwig-studio
Digital audio workstation
-
nixos-unstable studio6-6.0.6
- nixpkgs-unstable studio6-6.0.6
- nixos-unstable-small studio6-6.0.6
pkgs.bitwig-studio3
Digital audio workstation
pkgs.bitwig-studio4
Digital audio workstation
pkgs.bitwig-studio5
None
pkgs.bitwig-studio6
Digital audio workstation
-
nixos-unstable studio6-6.0.6
- nixpkgs-unstable studio6-6.0.6
- nixos-unstable-small studio6-6.0.6
pkgs.typstPackages.twig
Creates trees from lists using Cetz
pkgs.perlPackages.Twiggy
AnyEvent HTTP server for PSGI
pkgs.perl5Packages.Twiggy
AnyEvent HTTP server for PSGI
pkgs.perlPackages.XMLTwig
Perl module for processing huge XML documents in tree mode
pkgs.twig-language-server
Language server for Twig templates
pkgs.perl5Packages.XMLTwig
Perl module for processing huge XML documents in tree mode
pkgs.perl538Packages.Twiggy
None
pkgs.perl540Packages.Twiggy
None
pkgs.perl538Packages.XMLTwig
None
pkgs.perl540Packages.XMLTwig
None
pkgs.bitwig-studio5-unwrapped
Digital audio workstation
pkgs.python312Packages.twiggy
None
pkgs.python313Packages.twiggy
Twiggy is the first totally new design for a logger since log4j
pkgs.python314Packages.twiggy
Twiggy is the first totally new design for a logger since log4j
pkgs.typstPackages.twig_0_1_0
Creates trees from lists using Cetz
pkgs.tree-sitter-grammars.tree-sitter-twig
Tree-sitter grammar for twig
pkgs.vimPlugins.nvim-treesitter-parsers.twig
Tree-sitter grammar for twig
-
nixos-unstable 0.0.0+rev=7195ee5
- nixpkgs-unstable 0.0.0+rev=7195ee5
- nixos-unstable-small 0.0.0+rev=7195ee5
pkgs.python313Packages.tree-sitter-grammars.tree-sitter-twig
Python bindings for tree-sitter-twig
pkgs.python314Packages.tree-sitter-grammars.tree-sitter-twig
Python bindings for tree-sitter-twig
Package maintainers
-
@eleinah Eleina Mironia <ellie@eleina.dev>
-
@michalrus Michal Rus <m@michalrus.com>
-
@bfortz Bernard Fortz <bernard.fortz@gmail.com>
-
@mrVanDalo Ingolf Wanger <contact@ingolf-wagner.de>
-
@MalteJanz Malte Janz <service.malte.j@protonmail.com>
-
@A-jay98 Ali Jamadi <ali@jamadi.me>
-
@mightyiam Shahar "Dawn" Or <mightyiampresence@gmail.com>
-
@adfaure Adrien Faure <adfaure@pm.me>
-
@stepbrobd Yifei Sun <ysun@hey.com>
-
@nbp Nicolas B. Pierron <nixos@nbp.name>
-
@genga898 Emmanuel Genga <genga898@gmail.com>
-
@lucperkins Luc Perkins <lucperkins@gmail.com>
-
@RossSmyth Ross Smyth
-
@cherrypiejam Gongqi Huang