Security Resilience

CVE-2023-37460

Path Traversal in Codehaus-Plexus Plexus-Archiver ≤ 4.8.0

Public PoCPath Traversal
Published
25 July 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 8.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.025 85th percentile
Risk Priority 78 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-37460 is a high-severity Path Traversal (CWE-22) vulnerability in Codehaus-Plexus Plexus-Archiver. Its CVSS base score is 8.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique /etc/passwd and /etc/shadow (T1003.008); ranked in the top 15% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Plexus Archiver, a library providing a unified API for creating and extracting archives, is affected by CVE-2023-37460 in all versions prior to 4.8.0. The flaw resides in AbstractUnArchiver's handling of archive entries that resolve to existing symbolic links whose targets are absent; resolveFile() returns the link source rather than its target, bypassing the destination-directory check, after which Files.newOutputStream() follows the symlink and writes attacker-controlled content to an arbitrary location on the filesystem. The issue is tracked under CWE-22 and CWE-61 and carries a CVSS 3.1 score of 8.1.

An attacker who can supply a malicious archive to any application that uses Plexus Archiver for extraction can trigger creation of files outside the intended destination directory. Because the written content is fully controlled by the archive entry, the attacker may place executables, configuration files, or scripts in locations that later lead to remote code execution when those files are processed by the victim application or system.

The project maintainers addressed the vulnerability in version 4.8.0; the corresponding patch and release are documented in the GitHub Security Advisory GHSA-wh3p-fphp-9h2m together with the commits that corrected symlink resolution. Users are advised to upgrade Plexus Archiver to 4.8.0 or later and to ensure any downstream components that embed the library are also updated.

EPSS for the CVE currently stands at 0.3791 with a recorded peak of 0.4068; no public evidence of in-the-wild exploitation has been reported.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1087 Account Discovery Discovery
Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment.
T1611 Escape to Host Privilege Escalation
Adversaries may break out of a container or virtualized environment to gain access to the underlying host.
T1554 Compromise Host Software Binary Persistence
Adversaries may modify host software binaries to establish persistent access to systems.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-67030Same vendor: Codehaus-Plexus
CVE-2026-56876Shared CWE-22, CWE-61
CVE-2024-54148Shared CWE-22, CWE-61
CVE-2026-42275Shared CWE-22, CWE-61
CVE-2025-59343Shared CWE-22, CWE-61
CVE-2025-59825Shared CWE-22, CWE-61
CVE-2024-47877Shared CWE-22, CWE-61
CVE-2025-29787Shared CWE-22, CWE-61
CVE-2026-34446Shared CWE-22, CWE-61
CVE-2026-34447Shared CWE-22, CWE-61

Affected Assets

codehaus-plexus
plexus-archiver
≤ 4.8.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 2 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V5.3.2
  • V5.2.5

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-22

Validates pathnames and filenames to prevent traversal outside intended directories.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly prevent introduction of symlink-following flaws in file-handling code.

ID.RA-01 partial match
blocks

Vulnerability identification can discover existing symlink issues but does not prevent or remediate them in code.

PR.AA-05 partial match
blocks

Least-privilege access policies can limit damage from symlink attacks but do not address the coding flaw itself.

PR.PS-02 partial match
blocks

Patching/maintenance can remediate known path-traversal flaws in deployed software (partial prevention of exploitability) but does nothing to stop the coding defect from being introduced in the first place.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches path traversal via static/dynamic analysis.

prevents

Education and training for technical teams can raise awareness of symlink-following risks so developers handle file paths defensively, but this is a specialized implementation defect that general awareness rarely covers and the practice is fallible, so only a minority of instances are prevented.

prevents

Secure coding standards explicitly forbid unsafe path construction and mandate safe APIs.

finds

A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw. Path traversal commonly surfaces as CVEs in third-party components (many examples in the CWE-22 record), so A.8.8 finds that disclosed share; first-party path-traversal defects in the organization's own code are invisible to vulnerability scanning and management, which is the same remainder that caps A.8.8 -> CWE-89 at `partial`.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

Oracle Linux 8 (1 rule)
  • V-248577 OL 8 must enable kernel parameters to enforce Discretionary Access Control (DAC) on symlinks. blocks CWE-61

References