Azure Linux Advisory
AZL-37457
CVE-2024-24785 affecting package golang for versions less than 1.21.6-1
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Azure Linux:2 | golang | All versions before 1.21.6-1 (fixed in 1.21.6-1) |