CVE-2024-46977 json
OpenC3 COSMOS allows a path traversal via screen controller (`GHSL-2024-127`)
published 2024-10-02 2 y ago modified 2026-06-17 4 mo ago also GHSA-8jxr-mccc-mwg8 , PYSEC-2024-101 , EUVD-2024-0127
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. A path traversal vulnerability inside of LocalMode's open_local_file method allows an authenticated user with adequate permissions to download any .txt via the ScreensController#show on the web server COSMOS is running on (depending on the file permissions). This vulnerability is fixed in 5.19.0.
Patch / fix
- rubygems openc3 5.19.0
- pypi openc3 5.19.0
- openc3 cosmos 5.19.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.91% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | openc3 | <5.19.0 |
5.19.0 |
| pypi | openc3 | <5.19.0 |
5.19.0 |
Affected products
- OpenC3 cosmos
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/OpenC3/cosmos/commit/a34e61aea5a465f0ab3e57d833ae7ff4cafd710b
web, patch
-
github.com
/OpenC3/cosmos/security/advisories/GHSA-8jxr-mccc-mwg8
web, vendor-advisory, advisory
-
securitylab.github.com
/advisories/GHSL-2024-127_GHSL-2024-129_OpenC3_COSMOS
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-46977
advisory
-
github.com
/OpenC3/cosmos
package
-
github.com
/pypa/advisory-database/tree/main/vulns/openc3/PYSEC-2024-101.yaml
web
-
rubysec.com
/advisories/CVE-2024-46977
web
Sources
- CVE List CVE-2024-46977
- GitHub Advisory GHSA-8jxr-mccc-mwg8
- NVD CVE-2024-46977
- OSV PYSEC-2024-101
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.