{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-29453 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2023-29453 is a critical code injection vulnerability in Zabbix, published on 12 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-29453 and fix it if it is affected.\n\nWhat it is: CVE-2023-29453 is a critical code injection vulnerability in Zabbix, published on 12 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-29453 in the wild and no public exploit code.\n\nAffected product: Zabbix. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-29453/ (Markdown: https://insights.sbomify.com/CVE-2023-29453/index.md)","id":"CVE-2023-29453","markdown":"https://insights.sbomify.com/CVE-2023-29453/index.md","name":"CVE-2023-29453","record":{"aliases":["DEBIAN-CVE-2023-29453","GHSA-7374-hfgm-rm8v","UBUNTU-CVE-2023-29453"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Zabbix monitoring server","requires_auth":"none","summary":"Attackers can inject arbitrary JavaScript into Go templates via backticks, potentially leading to code execution in Zabbix deployments.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Zabbix","cpe":[{"product":"zabbix-agent2","vendor":"zabbix"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Agent 2 package are built with Go version affected by CVE-2023-24538","id":"CVE-2023-29453","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Persistent XSS in the user form","id":"CVE-2023-29454"},"packages":[],"prev":{"headline":"Remove possibility to add html into Geomap attribution field","id":"CVE-2023-29452"},"products":["Zabbix"],"published":"2023-10-12","related":[{"cvss_score":9.8,"headline":"Privilege escalation in n/a","id":"CVE-2022-22704","kev_date_added":null,"published":"2022-01-06"},{"cvss_score":4.6,"headline":"Code injection in zabbix_agent2 smart.disk.get caused by smartctl plugin","id":"CVE-2023-32728","kev_date_added":null,"published":"2023-12-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-18","vendors":["Zabbix"]},"summary":"Attackers can inject arbitrary JavaScript into Go templates via backticks, potentially leading to code execution in Zabbix deployments.","url":"https://insights.sbomify.com/CVE-2023-29453/"}