CVE-2023-29453
published critical CVSS 3.1 · 9.8Agent 2 package are built with Go version affected by CVE-2023-24538
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Zabbix | — | Zabbix5.0.0 through 5.0.34 (affected · git); changes: unaffected at 5.0.35 · 6.0.0 through 6.0.17 (affected · git); changes: unaffected at 6.0.18 · 6.4.0 through 6.4.2 (affected · git); changes: unaffected at 6.4.3 · Other versions: unaffected | Version-specific | Not stated | Zabbix |
| zabbix | — | zabbix-agent25.0.0 through 5.0.34 · 6.0.0 through 6.0.17 · 6.4.0 through 6.4.2 · Other versions: unknown | Affected | Not stated | CISA-ADP |
Description
Templates do not properly consider backticks (`) as Javascript string delimiters, and do not escape them as expected. Backticks are used, since ES6, for JS template literals. If a template contains a Go template action within a Javascript template literal, the contents of the action can be used to terminate the literal, injecting arbitrary Javascript code into the Go template. As ES6 template literals are rather complex, and themselves can do string interpolation, the decision was made to simply disallow Go template actions from being used inside of them (e.g., "var a = {{.}}"), since there is no obviously safe way to allow this behavior. This takes the same approach as github.com/google/safehtml. With fix, Template. Parse returns an Error when it encounters templates like this, with an ErrorCode of value 12. This ErrorCode is currently unexported but will be exported in the release of Go 1.21. Users who rely on the previous behavior can re-enable it using the GODEBUG flag jstmpllitinterp=1, with the caveat that backticks will now be escaped. This should be used with caution.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Zabbix · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Zabbix | Zabbix | 5.0.0 through 5.0.34 (affected · git); changes: unaffected at 5.0.356.0.0 through 6.0.17 (affected · git); changes: unaffected at 6.0.186.4.0 through 6.4.2 (affected · git); changes: unaffected at 6.4.3Default: unaffected | Zabbix · cna |
| zabbix | zabbix-agent2 | 5.0.0 through 5.0.34 (affected · custom)6.0.0 through 6.0.17 (affected · custom)6.4.0 through 6.4.2 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
1Provider assertions
3Zabbix · cna
Agent 2 package are built with Go version affected by CVE-2023-24538
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6c0b018c8a3b35a81f2314cc4499fe81f74b7e27188a77355b2c49c429f78fa2
- Ingested
- 23 Sep 2026, 08:07:56 UTC
- Source record
- Official CVE record