CVE-2024-24785
No exploitation reported by the sources we read.
- Published2024-03-05
- Fixed in1.22.1 · 1.21.8
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2024-03-0523:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-23 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2024-24785?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2024-24785?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.22 | ≥ 1.22.0-0, < 1.22.1 | 1.22.1 | OSV |
| 1.21 | < 1.21.8 | 1.21.8 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.22 | ≥ 1.22.0-0, < 1.22.1 | 1.22.1 | OSV |
| 1.21 | < 1.21.8 | 1.21.8 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- aardvark-dnsAlmaLinux:8all versions · fixed in 2:1.10.1-2.module_el8.10.0+3901+4b80ecd7
- aardvark-dnsAlmaLinux:8all versions · fixed in 2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7
- aardvark-dnsAlmaLinux:8all versions · fixed in 2:1.10.1-2.module_el8.10.0+4047+545787c4
- aardvark-dnsAlmaLinux:8all versions · fixed in 2:1.10.1-2.module_el8.10.0+4089+ce72bbbe
- buildahAlmaLinux:8all versions · fixed in 2:1.33.14-2.module_el8.10.0+4120+03ad4b47and 1 other package
- cockpit-podmanAlmaLinux:8all versions · fixed in 84.1-1.module_el8.10.0+4102+6c76e544
- conmonAlmaLinux:8all versions · fixed in 3:2.1.10-1.module_el8.10.0+3970+8445edf6
- conmonAlmaLinux:8all versions · fixed in 3:2.1.10-1.module_el8.10.0+4068+0e21408f
59 more package ranges on OSV.dev
Vendor advisories
Red Hat Security Advisory: container-tools:rhel8 security update
Red Hat Security Advisory: New RHCS 8.1 container image is now available in the Red Hat Ecosystem Catalog.
Red Hat Security Advisory: The Red Hat OpenShift Builds 1.1.0 General Availability
Red Hat Security Advisory: The Red Hat OpenShift Builds Client 1.1.0 General Availability
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.16.0 security, enhancement & bug fix update
Red Hat Security Advisory: Kube Descheduler Operator for Red Hat OpenShift 5.0.1 for RHEL 9
9 more advisories
Fix
- Update golang to 1.22.1 · 1.21.8
- Vendor fix Red Hat Product Security RHSA-2026:3428 · 261 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2025:9776 · 27 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/2789521 For supported configurations, refer to: https://access.redhat.com/articles/1548993
- Vendor fix Red Hat Product Security RHSA-2024:6221 · 1 productRed Hat OpenShift Builds Release
- Vendor fix Red Hat Product Security RHSA-2024:4591 · 3 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:3617 · 12 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied.
- Vendor fix Red Hat Product Security RHSA-2024:0045 · 175 productsFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section. All OpenShift Container Platform 4.16 users are advised to upgrade to these updated packages and images when …
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Published
- 2024-03-05
- Last Modified
- 2026-06-17
- NVD status
- Deferred
Frequently asked questions
What is CVE-2024-24785?
Is CVE-2024-24785 actively exploited?
What is the CVSS score for CVE-2024-24785?
Running OpenShift Container Platform? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.