apache/karaf · Security
Apache Karaf vulnerable to relative path traversal
- GHSA ID
- GHSA-fjw4-39pg-vf4f
- CVE ID
- CVE-2019-0226
- Severity
- medium
- Published
- Updated
- CVSS
- 4.9 · CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
- CVSS v3
- 4.9 · CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
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.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- 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 ↗
- https://github.com/advisories/GHSA-fjw4-39pg-vf4f ↗