p PatchFirst

CVE-2023-29453

CVE-2023-29453 · Agent 2 package are built with Go version affected by CVE-2023-24538

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 9.8 · Critical · EPSS 0.9% · Fix available

Published
Updated

Stack: system · applications

Affected products and versions

  • zabbix

    Versions
    • ≥ 5.0.0, ≤ 5.0.34: Affected; ≥ 5.0.35: Not affected (git)
    • ≥ 6.0.0, ≤ 6.0.17: Affected; ≥ 6.0.18: Not affected (git)
    • ≥ 6.4.0, ≤ 6.4.2: Affected; ≥ 6.4.3: Not affected (git)

    Update to 5.0.35; Update to 6.0.18; Update to 6.4.3

  • zabbix Debian:12

    Versions
    • 1:6.0.14+dfsg-1
    • 1:6.0.23+dfsg-1
    • 1:6.0.23+dfsg-1~bpo12+1
    • 1:6.0.24+dfsg-1
    • 1:6.0.25+dfsg-1
    • 1:6.0.29+dfsg-1
    • 1:7.0.0+dfsg-1
    • 1:7.0.0+dfsg-2
    • 1:7.0.0+dfsg-2~bpo12+1
    • 1:7.0.1+dfsg-1
    • 1:7.0.1+dfsg-1~bpo12+1
    • 1:7.0.10+dfsg-1
    • 1:7.0.10+dfsg-2
    • 1:7.0.2+dfsg-1
    • 1:7.0.2+dfsg-1~bpo12+1
    • 1:7.0.22+dfsg-1
    • 1:7.0.22+dfsg-1.1
    • 1:7.0.22+dfsg-1~bpo13+1
    • 1:7.0.22+dfsg-1~deb13u1
    • 1:7.0.27+dfsg-1
    • 1:7.0.29+dfsg-1
    • 1:7.0.29+dfsg-2
    • 1:7.0.29+dfsg-2~bpo13+1
    • 1:7.0.3+dfsg-1
    • 1:7.0.5+dfsg-1
    • 1:7.0.5+dfsg-1~bpo12+1
    • 1:7.0.6+dfsg-1
    • 1:7.0.9+dfsg-1
    • 1:7.0.9+dfsg-1~bpo12+1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zabbix Debian:13

    Affected ranges
    • ECOSYSTEM: < 1:6.0.23+dfsg-1

    Update to 1:6.0.23+dfsg-1

  • zabbix Debian:14

    Affected ranges
    • ECOSYSTEM: < 1:6.0.23+dfsg-1

    Update to 1:6.0.23+dfsg-1

  • zabbix Ubuntu:Pro:22.04:LTS

    Versions
    • 1:5.0.8+dfsg-1build1
    • 1:5.0.14+dfsg-1
    • 1:5.0.17+dfsg-1
    • 1:5.0.17+dfsg-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →