medium4.9
CVE-2019-0226
Apache Karaf vulnerable to relative path traversal
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.apache.karaf.config:org.apache.karaf.config.core | < 4.2.5 | 4.2.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Karaf | before 4.2.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://lists.apache.org/thread.html/1baa6f1df0e95fb1cd679067117354af2ab4423277d9a0ff6e8bf790%40%3Cdev.karaf.apache.org%3E
- https://lists.apache.org/thread.html/r218c7e017af0a860ae21bf7ab77520fd2070c8f52db680eeec03a266%40%3Ccommits.karaf.apache.org%3E
- https://github.com/advisories/GHSA-fjw4-39pg-vf4f
- https://nvd.nist.gov/vuln/detail/CVE-2019-0226
- https://lists.apache.org/thread.html/1baa6f1df0e95fb1cd679067117354af2ab4423277d9a0ff6e8bf790@%3Cdev.karaf.apache.org%3E
- https://lists.apache.org/thread.html/r218c7e017af0a860ae21bf7ab77520fd2070c8f52db680eeec03a266@%3Ccommits.karaf.apache.org%3E
- https://github.com/apache/karaf/pull/805
- https://issues.apache.org/jira/browse/KARAF-6230