QID 981213

QID 981213: Java (maven) Security Update for org.apache.karaf:apache-karaf (GHSA-869j-5855-hjpm)

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 doesn't 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. This is the "Zip-slip" vulnerability - https://snyk.io/research/zip-slip-vulnerability. This vulnerability is low if the Karaf process user has limited permission on the filesystem. Any Apache Karaf releases prior 4.2.3 is impacted.

Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.

  • CVSS V3 rated as High - 6.5 severity.
  • CVSS V2 rated as Medium - 4 severity.
  • Solution
    Customers are advised to refer to GHSA-869j-5855-hjpm for updates pertaining to this vulnerability.
    Vendor References

    CVEs related to QID 981213

    Software Advisories
    Advisory ID Software Component Link
    GHSA-869j-5855-hjpm org.apache.karaf:apache-karaf URL Logo github.com/advisories/GHSA-869j-5855-hjpm
    GHSA-869j-5855-hjpm org.apache.karaf:karaf URL Logo github.com/advisories/GHSA-869j-5855-hjpm