7.5high
Yapscan's report receiver server vulnerable to path traversal and log injection
- Severity
- 7.5high CVSS:3.1 by GitHub
- Published
- Last changed
- Also known as
- GO-2022-1204
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/fkie-cad/yapscan (Go) | from 0.18.0 before 0.19.1 | GitHub Advisory Database, Go Vulnerability Database |
Classification
What each source says
GitHub Advisory Database
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.
Go Vulnerability Database
Yapscan's report receiver server vulnerable to path traversal and log injection in github.com/fkie-cad/yapscan
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-9h6h-9g78-86f7 changed 2024-08-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-1204 changed 2026-03-03 | CC-BY-4.0 |