stdlib
Affected
- introduced
0, fixed1.21.8, introduced1.22.0-0, fixed1.22.1(semver)
Fixed versions
1.21.8, 1.22.1
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: BIT-golang-2024-24785, CVE-2024-24785
Errors returned from JSON marshaling may break template escaping in html/template
If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject unexpected content into templates.
Not rated by the source.
0, fixed 1.21.8, introduced 1.22.0-0, fixed 1.22.1 (semver)1.21.8, 1.22.1
The export has no generic command for this ecosystem.
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: Go Vulnerability Database · CC BY 4.0