html-template up to 1.21.7/1.22.0 on Go MarshalJSON neutralization

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.4$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.4
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Neutralization
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 208702
Nessus Name: Ubuntu 22.04 LTS : Go vulnerabilities (USN-7061-1)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: html-template 1.21.8/1.22.1

Timelineinfo

01/30/2024 🔍
03/06/2024 +36 days 🔍
03/06/2024 +0 days 🔍
04/15/2026 +770 days 🔍

Sourcesinfo

Status: Confirmed

CVE: CVE-2024-24785 (🔍)
GCVE (CVE): GCVE-0-2024-24785
GCVE (VulDB): GCVE-100-255840
CERT Bund: WID-SEC-2024-0560 - Golang Go: Mehrere Schwachstellen

Entryinfo

Created: 03/06/2024 06:59
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!