Agent 2 package are built with Go version affected by CVE-2023-24538
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
No affected products listed by the sources yet.
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:zabbix:zabbix-agent2:*:*:*:*:*:*:*:* | 5.0.0 to before 5.0.35; 6.0.0 to before 6.0.18; 6.4.0 to before 6.4.3 | Vulnerable | Zabbix |
- cpe:2.3:a:zabbix:zabbix-agent2:*:*:*:*:*:*:*:* Versions 5.0.0 to before 5.0.35; 6.0.0 to before 6.0.18; 6.4.0 to before 6.4.3 Vulnerable ·Zabbix
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2023-29453
- 2026-10-03 Alias added: GHSA-7374-hfgm-rm8v
References
More Zabbix-agent2 vulnerabilities
- TI-2022-23126 File name information disclosure vulnerability in Zabbix Web Service Report Generation CVSS 3.1MEDIUM 5.9
- TI-2022-06957 The zabbix-agent2 package before 5.4.9-r1 for Alpine Linux sometimes allows privilege… CVSS 3.1CRITICAL 9.8
- TI-2023-15997 Code injection in zabbix_agent2 smart.disk.get caused by smartctl plugin CVSS 3.1CRITICAL 9.8
Sources
- CVE-2023-29453 · CVE Program
- CVE-2023-29453 · NVD
- FIRST EPSS
- GHSA-7374-hfgm-rm8v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences