Skip to content
Heist/ feed
Back to feed
Critical

plexus-archiver — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2023-37460

Plexis Archiver is a collection of Plexus components to create archives or extract archives to a directory with a unified `Archiver`/`UnArchiver` API. Prior to version 4.8.0, using AbstractUnArchiver for extracting an archive might lead to an arbitrary file creation and possibly remote code execution. When extracting an archive with an entry that already exists in the destination directory as a symbolic link whose target does not exist - the `resolveFile()` function will return the symlink's source instead of its target, which will pass the verification that ensures the file will not be extracted outside of the destination directory. Later `Files.newOutputStream()`, that follows symlinks by default, will actually write the entry's content to the symlink's target. Whoever uses plexus archiver to extract an untrusted archive is vulnerable to an arbitrary file creation and possibly remote code execution. Version 4.8.0 contains a patch for this issue.

Products
plexus-archiver
Affected versions
1.0~alpha12-3, 1.2-1, 1.2-1+deb8u1build0.14.04.1, 2.2-1, 2.2-1+deb9u1build0.16.04.1, 3.5-2, 3.5-2ubuntu0.1~esm1, 3.6.0-2, 4.6.1-1, 4.6.1-1build1
Fixed versions
Not specified
CVEs
CVE-2023-37460
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:04 UTC · Revision 1

Source evidence

UBUNTU-CVE-2023-37460

core-osv · Original source

Published 25 Jul 2023, 20:15 UTC

Plexis Archiver is a collection of Plexus components to create archives or extract archives to a directory with a unified `Archiver`/`UnArchiver` API. Prior to version 4.8.0, using AbstractUnArchiver for extracting an archive might lead to an arbitrary file creation and possibly remote code execution. When extracting an archive with an entry that already exists in the destination directory as a symbolic link whose target does not exist - the `resolveFile()` function will return the symlink's source instead of its target, which will pass the verification that ensures the file will not be extracted outside of the destination directory. Later `Files.newOutputStream()`, that follows symlinks by default, will actually write the entry's content to the symlink's target. Whoever uses plexus archiver to extract an untrusted archive is vulnerable to an arbitrary file creation and possibly remote code execution. Version 4.8.0 contains a patch for this issue.

osv:UBUNTU-CVE-2023-37460

plexus-archiver

Fixed versions: Not specified

plexus-archiver

Fixed versions: Not specified

plexus-archiver

Fixed versions: Not specified

plexus-archiver

Fixed versions: Not specified

plexus-archiver

Fixed versions: Not specified

plexus-archiver

Fixed versions: Not specified

plexus-archiver

Fixed versions: Not specified

plexus-archiver

Fixed versions: Not specified

plexus-archiver

Fixed versions: Not specified

Complete source record
{
  "id": "87fe0286b55f98071aa078ddfae46a7dd357a3df0e22631f95941879594f4b73",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-37460",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2023-37460",
    "summary": "Plexis Archiver is a collection of Plexus components to create archives or extract archives to a directory with a unified `Archiver`/`UnArchiver` API. Prior to version 4.8.0, using AbstractUnArchiver for extracting an archive might lead to an arbitrary file creation and possibly remote code execution. When extracting an archive with an entry that already exists in the destination directory as a symbolic link whose target does not exist - the `resolveFile()` function will return the symlink's source instead of its target, which will pass the verification that ensures the file will not be extracted outside of the destination directory. Later `Files.newOutputStream()`, that follows symlinks by default, will actually write the entry's content to the symlink's target. Whoever uses plexus archiver to extract an untrusted archive is vulnerable to an arbitrary file creation and possibly remote code execution. Version 4.8.0 contains a patch for this issue.",
    "evidence": "osv:UBUNTU-CVE-2023-37460",
    "products": [
      {
        "name": {
          "value": "plexus-archiver",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0~alpha12-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2-1+deb8u1build0.14.04.1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "plexus-archiver",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.2-1+deb9u1build0.16.04.1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "plexus-archiver",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.5-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.5-2ubuntu0.1~esm1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "plexus-archiver",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.0-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "plexus-archiver",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.6.0-2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "plexus-archiver",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.6.1-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "plexus-archiver",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.6.1-1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "plexus-archiver",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.6.1-1build1",
            "evidence": "/affected/7/versions"
          }
        ]
      },
      {
        "name": {
          "value": "plexus-archiver",
          "evidence": "/affected/8/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.6.1-1",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "4.6.1-1build1",
            "evidence": "/affected/8/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2023-37460",
      "aliases": [
        "UBUNTU-CVE-2023-37460"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "plexus-archiver",
            "purl": "pkg:deb/ubuntu/plexus-archiver?arch=source&distro=trusty",
            "ecosystem": "Ubuntu:14.04:LTS"
          },
          "versions": [
            "1.0~alpha12-3",
            "1.2-1",
            "1.2-1+deb8u1build0.14.04.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-37460.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libplexus-archiver-java",
                "binary_version": "1.2-1+deb8u1build0.14.04.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "plexus-archiver",
            "purl": "pkg:deb/ubuntu/plexus-archiver?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "2.2-1",
            "2.2-1+deb9u1build0.16.04.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-37460.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libplexus-archiver-java",
                "binary_version": "2.2-1+deb9u1build0.16.04.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "plexus-archiver",
            "purl": "pkg:deb/ubuntu/plexus-archiver?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "3.5-2",
            "3.5-2ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-37460.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libplexus-archiver-java",
                "binary_version": "3.5-2ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "plexus-archiver",
            "purl": "pkg:deb/ubuntu/plexus-archiver?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "3.6.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-37460.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libplexus-archiver-java",
                "binary_version": "3.6.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "plexus-archiver",
            "purl": "pkg:deb/ubuntu/plexus-archiver?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "3.6.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-37460.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libplexus-archiver-java",
                "binary_version": "3.6.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "plexus-archiver",
            "purl": "pkg:deb/ubuntu/plexus-archiver?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "4.6.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-37460.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libplexus-archiver-java",
                "binary_version": "4.6.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "plexus-archiver",
            "purl": "pkg:deb/ubuntu/plexus-archiver?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "4.6.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-37460.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libplexus-archiver-java",
                "binary_version": "4.6.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "plexus-archiver",
            "purl": "pkg:deb/ubuntu/plexus-archiver?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "4.6.1-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-37460.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libplexus-archiver-java",
                "binary_version": "4.6.1-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "plexus-archiver",
            "purl": "pkg:deb/ubuntu/plexus-archiver?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "4.6.1-1",
            "4.6.1-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-37460.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libplexus-archiver-java",
                "binary_version": "4.6.1-1build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:24.745864122Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-37460"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2023-37460",
        "https://github.com/codehaus-plexus/plexus-archiver/releases/tag/plexus-archiver-4.8.0",
        "https://github.com/codehaus-plexus/plexus-archiver/security/advisories/GHSA-wh3p-fphp-9h2m",
        "https://github.com/codehaus-plexus/plexus-archiver/commit/54759839fbdf85caf8442076f001d5fd64e0dcb2",
        "https://www.cve.org/CVERecord?id=CVE-2023-37460"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-37460",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 355586,
  "published_at": "2023-07-25T20:15:00+00:00"
}