9.8

CVE-2023-29453: zabbix Code Injection

CVSS: 9.8v3.1CriticalModified
AliasesUBUNTU-CVE-2023-29453DEBIAN-CVE-2023-29453
Published 12-10-2023Last modified 18-09-2024

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.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.90%
0%100%
Low · +0.15 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 12-10-2023
    PublishedVulnerability first disclosed.
  2. 18-09-2024
    Last 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

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

19-09-202619-10-2026
EPSS score
0.90%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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

References

4 links