GHSA-fjw4-39pg-vf4f
Apache Karaf vulnerable to relative path traversal
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.apache.karaf.config:org.apache.karaf.config.core | < 4.2.5 | 4.2.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2019-0226
- https://github.com/apache/karaf/pull/805
- https://github.com/apache/karaf
- https://issues.apache.org/jira/browse/KARAF-6230
- https://lists.apache.org/thread.html/1baa6f1df0e95fb1cd679067117354af2ab4423277d9a0ff6e8bf790@%3Cdev.karaf.apache.org%3E
- https://lists.apache.org/thread.html/r218c7e017af0a860ae21bf7ab77520fd2070c8f52db680eeec03a266@%3Ccommits.karaf.apache.org%3E