Security readout for executives and security teams
Plain-English summary
OCaml opam versions before 2.5.1 can mishandle destination paths in .install metadata. A crafted install entry may write outside the intended directory using parent-directory traversal. For businesses, the main concern is build or developer environments where package installation can alter files unexpectedly.
Executive priority
Prioritize remediation for engineering and CI environments because unexpected file writes can compromise build integrity. Treat this as high urgency where opam processes external or community packages, but avoid emergency assumptions without exposure evidence.
Technical view
This is a CWE-24 path traversal issue in opam .install destination filepath handling. The CVSS 3.1 score is 7.3: local attack vector, low complexity, no privileges, no user interaction, with high integrity impact and limited confidentiality and availability impact.
Likely exposure
Exposure is most likely where OCaml opam before 2.5.1 is installed, especially developer machines, CI runners, build workers, or package automation processing .install metadata. The source bundle’s affected-version detail is sparse, so confirm exact exposure against opam and distro advisories.
Exploitation context
The provided sources do not state active exploitation, and KEV is false. The evidence supports a local path traversal risk during opam install processing, but does not establish remote exploitation or public weaponization.
Researcher notes
The record identifies path traversal via ../ in .install destination filepaths before opam 2.5.1. Public evidence is sufficient for triage and version validation, but incomplete for exploit prevalence, vulnerable workflow prerequisites, and downstream distro patch mapping.
Mitigation direction
Upgrade opam to 2.5.1 or later where applicable.
Apply Debian, Red Hat, or other distribution guidance for packaged opam versions.
Restrict untrusted package installation in CI and developer workflows.
Review vendor advisories before assuming backported package versions are vulnerable.
Validation and detection
Inventory opam versions on developer systems, build hosts, and CI runners.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-24: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-24 · source CWE mapping
Path Traversal: '../filedir'
Path Traversal: '../filedir' represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.