5.5 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): Required (R)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): None (N)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Required (R)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): None (N)
Activity log
- Created suggestion
Copier `_external_data` allows path traversal and absolute-path local file read without unsafe mode
Copier is a library and CLI app for rendering project templates. Prior to version 9.14.1, Copier's _external_data feature allows a template to load YAML files using template-controlled paths. If untrusted templates are in scope, a malicious template can read attacker-chosen YAML-parseable local files that are accessible to the user running Copier and expose their contents in rendered output. This issue has been patched in version 9.14.1.
References
-
https://github.com/copier-org/copier/security/advisories/GHSA-hgjq-p8cr-gg4h x_refsource_CONFIRM
-
https://github.com/copier-org/copier/releases/tag/v9.14.1 x_refsource_MISC
Affected products
- ==< 9.14.1
Matching in nixpkgs
pkgs.copier
Library and command-line utility for rendering projects templates
pkgs.apksigcopier
Copy/extract/patch android apk signatures & compare APKs
pkgs.gnomeExtensions.copier
Copy text notes to clipboard via a panel indicator
pkgs.python312Packages.copier
Library and command-line utility for rendering projects templates
pkgs.python313Packages.copier
Library and command-line utility for rendering projects templates
pkgs.python314Packages.copier
Library and command-line utility for rendering projects templates
pkgs.python312Packages.copier-template-tester
ctt: CLI and pre-commit tool for testing copier
pkgs.python313Packages.copier-template-tester
ctt: CLI and pre-commit tool for testing copier
pkgs.python314Packages.copier-template-tester
CLI and pre-commit tool for testing copier
Package maintainers
-
@obfusk FC Stegerman <flx@obfusk.net>
-
@honnip Jung seungwoo <me@honnip.page>
-
@yajo Jairo Llopis <yajo.sk8@gmail.com>
-
@savtrip Sav Tripodi