Critical severity · published Oct 12, 2023
CVE-2023-29453
Agent 2 package are built with Go version affected by CVE-2023-24538
9.8
CVSS
0.9%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 59% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ZA
Zabbix · Zabbix
5.0.0 through 5.0.34; 6.0.0 through 6.0.17; 6.4.0 through 6.4.2 · source: vendor
ZA
Zabbix-agent2 · Zabbix
5.0.0 before 5.0.35; 6.0.0 before 6.0.18; 6.4.0 before 6.4.3 · source: NVD, CISA
Affected product
ZA
Zabbix
Zabbix
More from Zabbix
9.8
CVE-2022-23131
Unsafe client-side session storage leading to authentication bypass/instance takeover via Zabbix Frontend with configured SAML
5.3
CVE-2022-23134
Possible view of the setup pages by unauthenticated users if config file already exists
9.9
CVE-2024-42327
SQL injection in user.get API
9.8
CVE-2023-32728
Code injection in zabbix_agent2 smart.disk.get caused by smartctl plugin
9.8
CVE-2022-43516
A Firewall Rule which allows all incoming TCP connections to all programs from any source and to all ports is created in Windows Firewall after Zabbix agent installation (MSI)