Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-42125

Zip slip vulnerability in FileUtil.unzip in Liferay Portal 7.4.3.5 through 7.4.3.35 and Liferay DXP 7.4 update 1 through update 34 allows attackers to create or overwrite existing files on the filesystem via the deployment of a malicious plugin/module.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-42125
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 23:16 UTC · Revision 1

Source evidence

CVE-2022-42125

core-osv · Original source

Published 15 Nov 2022, 00:00 UTC

Zip slip vulnerability in FileUtil.unzip in Liferay Portal 7.4.3.5 through 7.4.3.35 and Liferay DXP 7.4 update 1 through update 34 allows attackers to create or overwrite existing files on the filesystem via the deployment of a malicious plugin/module.

osv:CVE-2022-42125
Complete source record
{
  "id": "7bd342150fb8e686bfe46d29e51fb30bcd51232407a8332bc503aee29daeec2e",
  "url": "https://osv.dev/vulnerability/CVE-2022-42125",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-42125",
    "summary": "Zip slip vulnerability in FileUtil.unzip in Liferay Portal 7.4.3.5 through 7.4.3.35 and Liferay DXP 7.4 update 1 through update 34 allows attackers to create or overwrite existing files on the filesystem via the deployment of a malicious plugin/module.",
    "evidence": "osv:CVE-2022-42125",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-42125",
      "aliases": [
        "BIT-liferay-2022-42125",
        "CVE-2022-42125",
        "GHSA-g8hp-rc67-jf96"
      ],
      "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/liferay/liferay-portal",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "73f48d7172fef1b840cc776b4505aa6e318817fe"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.4.3.5"
                      },
                      {
                        "fixed": "7.4.3.36"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.4.3.7-ga7",
            "7.4.3.6-ga6",
            "7.4.3.5-ga5",
            "7.4.3.4-ga4",
            "7.4.2-ga3",
            "7.4.1-ga2",
            "7.4.0-ga1",
            "7.3.5-ga6",
            "7.3.4-ga5",
            "test-fix-pack-base-7310",
            "7.3.3-ga4",
            "7.3.2-ga3",
            "7.3.1-ga2",
            "7.3.0-ga1",
            "7.2.0-b3",
            "7.2.0-b2",
            "7.2.0-b1",
            "7.2.0-a1",
            "7.2.0-m2",
            "7.1.0-b2",
            "7.1.0-b1",
            "7.1.0-a2",
            "7.1.0-a1",
            "7.1.0-m2",
            "7.1.0-m1",
            "sync-3.1.0-ga1",
            "sync-3.0.10-ga2",
            "sync-3.0.9-ga1",
            "sync-3.0.8-b9",
            "7.0.0-m5",
            "sync-3.0.7-b8",
            "sync-3.0.6-b7",
            "sync-3.0.5-b6",
            "sync-3.0.4-b5",
            "sync-3.0.3-b4",
            "sync-3.0.2-b3",
            "sync-3.0.1-b2",
            "sync-3.0.0-b1",
            "7.0.0-m4",
            "7.0.0-m3",
            "7.0.0-m2",
            "7.0.0-m1",
            "6.2.0-b2",
            "6.2.0-b1",
            "6.2.0-m6",
            "6.2.0-m5",
            "6.2.0-m4",
            "6.2.0-m3",
            "6.2.0-m2",
            "6.1.0-rc1",
            "6.1.0-b4",
            "6.1.0-b3",
            "6.1.0-b2",
            "6.1.0-b1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-42125.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.144102422Z",
      "provider": "osv",
      "references": [
        "https://issues.liferay.com/browse/LPE-17517",
        "https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42125",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42125.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-42125"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42125.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-42125",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499235,
  "published_at": "2022-11-15T00:00:00+00:00"
}