GHSA-9h6h-9g78-86f7
HIGH 7.5CVSS 3.1Yapscan's report receiver server vulnerable to path traversal and log injection
Impact
If you make use of the report receiver server (experimental), a client may be able to forge requests such that arbitrary files on the host can be overwritten (subject to permissions of the yapscan server), leading to loss of data. This is particularly problematic if you do not authenticate clients and/or run the server with elevated permissions.
Patches
Vulnerable versions:
- v0.18.0
- v0.19.0 (unreleased)
This problem is patched in version v0.19.1
Workarounds
Update to the newer version is highly encouraged!
Measures to reduce the risk of this include authenticating clients (see --client-ca flag) and containerization of the yapscan server.
References
The tracking issue is #35. There you can find the commits, fixing the issue.
- Published
- 29 Dec 2022
- Last modified
- 3 Mar 2026
- Weakness
- CWE-117CWE-22CWE-73
- Also known as
- GO-2022-1204
- Sources
- OSVJSONOSV GO-2022-1204JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/fkie-cad/yapscan | >= 0.18.0, < 0.19.1 | 0.19.1 |
References
- https://github.com/fkie-cad/yapscan/security/advisories/GHSA-9h6h-9g78-86f7 · WEB, ADVISORY
- https://github.com/fkie-cad/yapscan/issues/35 · WEB, REPORT
- https://github.com/fkie-cad/yapscan/commit/a75a20b50be673b96b1d42187b97f8cfe60728df · WEB, FIX
- https://github.com/fkie-cad/yapscan/commit/fef9a33ceb66f6b929839f7eaf393b629681bc5d · WEB, FIX
- https://github.com/fkie-cad/yapscan · PACKAGE
- https://github.com/fkie-cad/yapscan/releases/tag/v0.19.1 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Dec 2022)