5.3medium
OpenC3 COSMOS allows a path traversal via screen controller (`GHSL-2024-127`)
- Severity
- 5.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.91% (higher than 61% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-8jxr-mccc-mwg8PYSEC-2024-101
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenC3 cosmos | < 5.19.0, before 5.19.0 | CVE List, NVD |
| openc3 (RubyGems) | before 5.19.0 | GitHub Advisory Database |
| openc3 (PyPI) | before 5.19.0, before a34e61aea5a465f0ab3e57d833ae7ff4cafd710b | GitHub Advisory Database, PyPA Advisory Database |
All scores
| GitHub_M | 5.3medium CVSS:4.0 | 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 |
| GitHub | 6.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| PyPA Advisory Database | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Summary
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).
Note: This CVE affects all OpenC3 COSMOS Editions
Impact
This issue may lead to Information Disclosure.
NVD (es)
OpenC3 COSMOS proporciona la funcionalidad necesaria para enviar comandos a uno o más sistemas integrados y recibir datos de ellos. Una vulnerabilidad de path traversal dentro del método open_local_file de LocalMode permite que un usuario autenticado con los permisos adecuados descargue cualquier archivo .txt a través de ScreensController#show en el servidor web en el que se ejecuta COSMOS (según los permisos de archivo). Esta vulnerabilidad se corrigió en la versión 5.19.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-46977 changed 2024-10-31 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8jxr-mccc-mwg8 changed 2024-10-31 | CC-BY-4.0 |
| NVD | CVE-2024-46977 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2024-101 changed 2024-10-08 | CC-BY-4.0 |