github.com/treeverse/lakefs
Affected
- introduced
0, fixed0.106.0(semver)
Fixed versions
0.106.0
Fix
- Fixed version
0.106.0go get github.com/treeverse/[email protected]
Advisory
Also known as: GO-2023-2012
lakeFS vulnerable to Arbitrary JavaScript Injection via Direct Link to HTML Files
Impact
The browser renders the resulting HTML when opening a direct link to an HTML file via lakeFS. Any JavaScript within that page is executed within the context of the domain lakeFS is running in.
An attacker can inject a malicious script inline, download resources from another domain, or make arbitrary HTTP requests. This would allow the attacker to send information to a random domain or carry out lakeFS operations while impersonating the victim.
Note that to carry out this attack, an attacker must already have access to upload the malicious HTML file to one or more repositories. It also depends on the victim receiving and opening the link to the malicious HTML file.
Patches
This is fixed in lakeFS version 0.106.0
Workarounds
There are no known workarounds at this time.
Medium Basis: The source's own band: MODERATE
0, fixed 0.106.0 (semver)0.106.0
0.106.0go get github.com/treeverse/[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