Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-0191

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-0191
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:09 UTC · Revision 1

Source evidence

CVE-2019-0191

core-osv · Original source

Published 21 Mar 2019, 16:01 UTC

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.

osv:CVE-2019-0191
Complete source record
{
  "id": "bc178d83cc47ba3a653333bc22afa62163c865933b7b9bdba31bbc011f9eb15a",
  "url": "https://osv.dev/vulnerability/CVE-2019-0191",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-0191",
    "summary": "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.",
    "evidence": "osv:CVE-2019-0191",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2019-0191",
      "aliases": [
        "CVE-2019-0191",
        "GHSA-869j-5855-hjpm"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/karaf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6dffa1fd86f8cb45a23f485e43e3226c48bb74de"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:karaf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.2.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "karaf-4.2.2",
            "karaf-4.2.1",
            "karaf-4.2.0",
            "karaf-4.2.0.M2",
            "karaf-4.2.0.M1",
            "karaf-4.1.1",
            "karaf-4.1.0",
            "karaf-4.0.4",
            "karaf-4.0.3",
            "karaf-4.0.2",
            "karaf-4.0.1",
            "karaf-4.0.0.M2",
            "karaf-4.0.0.M1",
            "karaf-3.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-0191.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:36.138793857Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/6856aa7ed7dd805eaf65d0e5e95027dda3b2307aacd1ab4a838c5cd1%40%3Cuser.karaf.apache.org%3E",
        "https://lists.apache.org/thread.html/cef9a2d4b547625e5214684283ac5c59c9d9740e092e777dc3f85070%40%3Ccommits.karaf.apache.org%3E"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-0191",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 433905,
  "published_at": "2019-03-21T16:01:01.827+00:00"
}