Skip to content
Heist/ feed
Back to feed
High

Apache UIMA prior to 3.3.1 has a path traversal vulnerability when extracting (PEAR) archives

Type: advisorySources: OSV

A relative path traversal vulnerability in a FileUtil class used by the PEAR management component of Apache UIMA allows an attacker to create files outside the designated target directory using carefully crafted ZIP entry names. This issue affects Apache UIMA Apache UIMA version 3.3.0 and prior versions. Note that PEAR files should never be installed into an UIMA installation from untrusted sources because PEAR archives are executable plugins that will be able to perform any actions with the same privileges as the host Java Virtual Machine.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-32287
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:37 UTC · Revision 1

Source evidence

Apache UIMA prior to 3.3.1 has a path traversal vulnerability when extracting (PEAR) archives

core-osv · Original source

Published 3 Nov 2022, 00:00 UTC

A relative path traversal vulnerability in a FileUtil class used by the PEAR management component of Apache UIMA allows an attacker to create files outside the designated target directory using carefully crafted ZIP entry names. This issue affects Apache UIMA Apache UIMA version 3.3.0 and prior versions. Note that PEAR files should never be installed into an UIMA installation from untrusted sources because PEAR archives are executable plugins that will be able to perform any actions with the same privileges as the host Java Virtual Machine.

osv:CVE-2022-32287
Complete source record
{
  "id": "6c197f4f4e0465552b7bda3990630e568bfbe21cfe680fec433760f3d69c8879",
  "url": "https://osv.dev/vulnerability/CVE-2022-32287",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache UIMA prior to 3.3.1 has a path traversal vulnerability when extracting (PEAR) archives",
    "summary": "A relative path traversal vulnerability in a FileUtil class used by the PEAR management component of Apache UIMA allows an attacker to create files outside the designated target directory using carefully crafted ZIP entry names. This issue affects Apache UIMA Apache UIMA version 3.3.0 and prior versions. Note that PEAR files should never be installed into an UIMA installation from untrusted sources because PEAR archives are executable plugins that will be able to perform any actions with the same privileges as the host Java Virtual Machine.",
    "evidence": "osv:CVE-2022-32287",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-32287",
      "aliases": [
        "CVE-2022-32287",
        "GHSA-xgqr-5wqw-9fpv"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/uima-uimaj",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "f1f557a415ae38e383bf050587a510211515c21d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:uimaj:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "3.3.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "rel/uimaj-3.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-32287.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.854361016Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread/57vk0d79j94d0lk0vol8xn935yv1shdd",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32287.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-32287"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "Java SDK"
                  },
                  {
                    "last_affected": "3.3.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32287.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-32287",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505368,
  "published_at": "2022-11-03T00:00:00+00:00"
}