CVE-2019-0226

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in maven/org.apache.karaf.config/org.apache.karaf.config.core

Identifiers

GHSA-fjw4-39pg-vf4f, CVE-2019-0226

Package Slug

maven/org.apache.karaf.config/org.apache.karaf.config.core

Vulnerability

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Description

Apache Karaf Config service provides a install method (via service or MBean) that could be used to travel in any directory and overwrite existing file. The vulnerability is low if the Karaf process user has limited permission on the filesystem. Any Apache Karaf version before 4.2.5 is impacted. User should upgrade to Apache Karaf 4.2.5 or later.

Affected Versions

All versions before 4.2.5

Solution

Upgrade to version 4.2.5 or above.

Last Modified

2022-11-18

source