CVE-2019-0226: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
(updated )
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
- github.com/advisories/GHSA-fjw4-39pg-vf4f
- github.com/apache/karaf/pull/805
- issues.apache.org/jira/browse/KARAF-6230
- lists.apache.org/thread.html/1baa6f1df0e95fb1cd679067117354af2ab4423277d9a0ff6e8bf790@%3Cdev.karaf.apache.org%3E
- lists.apache.org/thread.html/r218c7e017af0a860ae21bf7ab77520fd2070c8f52db680eeec03a266@%3Ccommits.karaf.apache.org%3E
- nvd.nist.gov/vuln/detail/CVE-2019-0226
Detect and mitigate CVE-2019-0226 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →