html-template up to 1.21.7/1.22.0 on Go MarshalJSON neutralization
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in html-template up to 1.21.7/1.22.0 on Go and classified as problematic. This affects the function MarshalJSON. The manipulation results in neutralization.
This vulnerability is known as CVE-2024-24785. No exploit is available.
It is suggested to upgrade the affected component.
Details
A vulnerability was found in html-template up to 1.21.7/1.22.0 on Go. It has been classified as problematic. Affected is the function MarshalJSON. The manipulation with an unknown input leads to a neutralization vulnerability. CWE is classifying the issue as CWE-707. The product does not ensure or incorrectly ensures that structured messages or data are well-formed and that certain security properties are met before being read from an upstream component or sent to a downstream component. This is going to have an impact on integrity. CVE summarizes:
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.
The weakness was published 03/06/2024. This vulnerability is traded as CVE-2024-24785 since 01/30/2024. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 208702 (Ubuntu 22.04 LTS : Go vulnerabilities (USN-7061-1)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 1.21.8 or 1.22.1 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (208702) and CERT Bund (WID-SEC-2024-0560). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Affected
- Amazon Linux 2
- Red Hat Enterprise Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- Gentoo Linux
- Xerox FreeFlow Print Server
- RESF Rocky Linux
- Golang Go
- IBM Spectrum Protect Plus
Product
Name
Version
- 1.0
- 1.1
- 1.2
- 1.3
- 1.4
- 1.5
- 1.6
- 1.7
- 1.8
- 1.9
- 1.10
- 1.11
- 1.12
- 1.13
- 1.14
- 1.15
- 1.16
- 1.17
- 1.18
- 1.19
- 1.20
- 1.21
- 1.21.0
- 1.21.1
- 1.21.2
- 1.21.3
- 1.21.4
- 1.21.5
- 1.21.6
- 1.21.7
- 1.22.0
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.4VulDB Meta Temp Score: 4.4
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
ADP CISA Base Score: 5.4
ADP CISA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: NeutralizationCWE: CWE-707 / CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 208702
Nessus Name: Ubuntu 22.04 LTS : Go vulnerabilities (USN-7061-1)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: html-template 1.21.8/1.22.1
Timeline
01/30/2024 🔍03/06/2024 🔍
03/06/2024 🔍
04/15/2026 🔍
Sources
Status: ConfirmedCVE: CVE-2024-24785 (🔍)
GCVE (CVE): GCVE-0-2024-24785
GCVE (VulDB): GCVE-100-255840
CERT Bund: WID-SEC-2024-0560 - Golang Go: Mehrere Schwachstellen
Entry
Created: 03/06/2024 06:59Updated: 04/15/2026 20:19
Changes: 03/06/2024 06:59 (38), 10/11/2024 00:53 (17), 03/14/2025 04:07 (1), 02/26/2026 16:35 (7), 04/15/2026 20:19 (11)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.