Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.karaf/karaf
  4. ›
  5. CVE-2019-0191

CVE-2019-0191: Path Traversal

March 21, 2019 (updated May 6, 2019)

Apache Karaf kar deployer reads .kar archives and extracts the paths from the repository/ and resources/ entries in the zip file. It then writes out the content of these paths to the Karaf repo and resources directories. However, it does not do any validation on the paths in the zip file. This means that a malicious user could craft a .kar file with .. directory names and break out of the directories to write arbitrary content to the filesystem.

References

  • www.securityfocus.com/bid/107462
  • nvd.nist.gov/vuln/detail/CVE-2019-0191

Code Behaviors & Features

Detect and mitigate CVE-2019-0191 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 →

Affected versions

All versions before 4.2.3

Fixed versions

  • 4.2.3

Solution

Upgrade to version 4.2.3 or above.

Impact 6.5 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/org.apache.karaf/karaf/CVE-2019-0191.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:59 +0000.