CVE-2023-29453: zabbix Code Injection
Vulnerability summary
CVE-2023-29453 is a critical (CVSS 9.8) Code Injection vulnerability in zabbix. EPSS estimates a 0.90% chance of exploitation in the next 30 days, higher than 58.9% of scored vulnerabilities.
Timeline
- 12-10-2023PublishedVulnerability first disclosed.
- 18-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.90%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
+0.15 pp
From 0.75% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Zabbix2 products
- zabbix≥ 5.0.0, ≤ 5.0.34 | ≥ 6.0.0, ≤ 6.0.17 | ≥ 6.4.0, ≤ 6.4.2
- zabbix-agent2≥ 5.0.0, < 5.0.35 | ≥ 6.0.0, < 6.0.18 | ≥ 6.4.0, < 6.4.3
Debian1 product
- zabbixAll versions (No fix recorded) | < 1:6.0.23+dfsg-1
Ubuntu1 product
- zabbixAll versions (No fix recorded)
3 vendors · 4 products