Arbitrary Code Injection The advisory has been revoked - it doesn't affect any version of package golang-misc  (opens in a new tab)


Threat Intelligence

EPSS
0.8% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-GOLANGMISC-9321648
  • published7 Mar 2025
  • disclosed5 Mar 2024

Introduced: 5 Mar 2024

CVE-2024-24785  (opens in a new tab)
CWE-74  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:9.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-misc package and not the golang-misc package as distributed by RHEL.

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.