{"api_version":"1","generated_at":"2026-04-23T06:20:23+00:00","cve":"CVE-2023-37460","urls":{"html":"https://cve.report/CVE-2023-37460","api":"https://cve.report/api/cve/CVE-2023-37460.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-37460","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-37460"},"summary":{"title":"CVE-2023-37460","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-07-25 20:15:00","updated_at":"2023-08-03 13:52:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://github.com/codehaus-plexus/plexus-archiver/releases/tag/plexus-archiver-4.8.0","name":"https://github.com/codehaus-plexus/plexus-archiver/releases/tag/plexus-archiver-4.8.0","refsource":"MISC","tags":[],"title":"Release 4.8.0 · codehaus-plexus/plexus-archiver · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/codehaus-plexus/plexus-archiver/commit/54759839fbdf85caf8442076f001d5fd64e0dcb2","name":"https://github.com/codehaus-plexus/plexus-archiver/commit/54759839fbdf85caf8442076f001d5fd64e0dcb2","refsource":"MISC","tags":[],"title":"Avoid override target symlink by standard file in AbstractUnArchiver · codehaus-plexus/plexus-archiver@5475983 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/codehaus-plexus/plexus-archiver/security/advisories/GHSA-wh3p-fphp-9h2m","name":"https://github.com/codehaus-plexus/plexus-archiver/security/advisories/GHSA-wh3p-fphp-9h2m","refsource":"MISC","tags":[],"title":"Arbitrary File Creation in AbstractUnArchiver · Advisory · codehaus-plexus/plexus-archiver · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-37460","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37460","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"37460","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"codehaus-plexus","cpe5":"plexus-archiver","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-37460","qid":"161056","title":"Oracle Enterprise Linux Security Update for plexus-archiver (ELSA-2023-6886)"},{"cve":"CVE-2023-37460","qid":"242405","title":"Red Hat Update for plexus-archiver (RHSA-2023:6886)"},{"cve":"CVE-2023-37460","qid":"356626","title":"Amazon Linux Security Advisory for plexus-archiver : ALAS2023-2023-421"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-37460","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","cweId":"CWE-22"}]},{"description":[{"lang":"eng","value":"CWE-61: UNIX Symbolic Link (Symlink) Following","cweId":"CWE-61"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"codehaus-plexus","product":{"product_data":[{"product_name":"plexus-archiver","version":{"version_data":[{"version_affected":"=","version_value":"< 4.8.0"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/codehaus-plexus/plexus-archiver/security/advisories/GHSA-wh3p-fphp-9h2m","refsource":"MISC","name":"https://github.com/codehaus-plexus/plexus-archiver/security/advisories/GHSA-wh3p-fphp-9h2m"},{"url":"https://github.com/codehaus-plexus/plexus-archiver/commit/54759839fbdf85caf8442076f001d5fd64e0dcb2","refsource":"MISC","name":"https://github.com/codehaus-plexus/plexus-archiver/commit/54759839fbdf85caf8442076f001d5fd64e0dcb2"},{"url":"https://github.com/codehaus-plexus/plexus-archiver/releases/tag/plexus-archiver-4.8.0","refsource":"MISC","name":"https://github.com/codehaus-plexus/plexus-archiver/releases/tag/plexus-archiver-4.8.0"}]},"source":{"advisory":"GHSA-wh3p-fphp-9h2m","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-07-25 20:15:00","lastModifiedDate":"2023-08-03 13:52:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:codehaus-plexus:plexus-archiver:*:*:*:*:*:*:*:*","versionEndExcluding":"4.8.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}