github.com/fkie-cad/yapscan
Affected
- introduced
0.18.0, fixed0.19.1(semver)
Fixed versions
0.19.1
Fix
- Fixed version
0.19.1go get github.com/fkie-cad/[email protected]
Advisory
Also known as: GO-2022-1204
Yapscan'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:
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.
High Basis: The source's own band: HIGH
0.18.0, fixed 0.19.1 (semver)0.19.1
0.19.1go get github.com/fkie-cad/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0