8.1 HIGH
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): HIGH
- Privileges required (PR): NONE
- User interaction (UI): NONE
- Scope (S): UNCHANGED
- Confidentiality impact (C): HIGH
- Integrity impact (I): HIGH
- Availability impact (A): HIGH
Improper Limitation of a Pathname to a Restricted Directory in Logstash Leading to Arbitrary File Write
Improper Limitation of a Pathname to a Restricted Directory (CWE-22) in Logstash can lead to arbitrary file write and potentially remote code execution via Relative Path Traversal (CAPEC-139). The archive extraction utilities used by Logstash do not properly validate file paths within compressed archives. An attacker who can serve a specially crafted archive to Logstash through a compromised or attacker-controlled update endpoint can write arbitrary files to the host filesystem with the privileges of the Logstash process. In certain configurations where automatic pipeline reloading is enabled, this can be escalated to remote code execution.
Affected products
- =<8.19.13
Matching in nixpkgs
pkgs.logstash
Logstash is a data pipeline that helps you process logs and other event data from a variety of systems
pkgs.logstash7
Logstash is a data pipeline that helps you process logs and other event data from a variety of systems
pkgs.logstash7-oss
Logstash is a data pipeline that helps you process logs and other event data from a variety of systems
pkgs.logstash-contrib
Community-maintained logstash plugins
pkgs.haskellPackages.logstash
Logstash client library for Haskell
pkgs.haskellPackages.katip-logstash
Logstash backend for katip
pkgs.python312Packages.python-logstash
Python logging handler for Logstash
pkgs.python313Packages.python-logstash
Python logging handler for Logstash
pkgs.python314Packages.python-logstash
Python logging handler for Logstash
Package maintainers
-
@basvandijk Bas van Dijk <v.dijk.bas@gmail.com>
-
@offlinehacker Jaka Hudoklin <jaka@x-truder.net>
-
@peterromfeldhk Peter Romfeld <peter.romfeld.hk@gmail.com>