OpsTree BuildPiper before 2.7.0 Path Traversal via Dockerfile Path and Build Context
Summary
OpsTree BuildPiper before 2.7.0 contains a path traversal vulnerability that allows authenticated users with build configuration permission to read files on the build worker by supplying unvalidated dockerfile_path and build context values. Attackers can set traversal or absolute paths such as /etc/...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| OpsTree SolutionsBuildPiper |
< 2.7.0→ 2.7.0 |
2.7.0 |
Original description The description as published by the source.
OpsTree BuildPiper before 2.7.0 contains a path traversal vulnerability that allows authenticated users with build configuration permission to read files on the build worker by supplying unvalidated dockerfile_path and build context values. Attackers can set traversal or absolute paths such as /etc/passwd via the CI configuration endpoint, then trigger a build to disclose file contents in the build log.
Source: CVE.org (CVE Program・cvelistV5) NVD