ADVISORIES

Azure Linux Advisory

AZL-37460

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

EcosystemPackageAffected versions
Azure Linux:2golang
From 1.18.0 before 1.21.6-1 (fixed in 1.21.6-1)

References