GHSA-869j-5855-hjpm

    Dashboard / Vulnerabilities / GHSA-869j-5855-hjpm

    GHSA-869j-5855-hjpm

    Published: 25 Mar 2019Last Modified: 8 Nov 2023
    Aliases:

    Summary: Moderate severity vulnerability that affects org.apache.karaf:apache-karaf and org.apache.karaf:karaf

    Details: 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.

    Affected packages

    Package

    Name: org.apache.karaf:karaf

    Purl: pkg:maven/org.apache.karaf/karaf

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -4.2.3

    Affected versions

    2.0.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High