CVE-2024-46977
JSON

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 packageVersionsReported by
OpenC3 cosmos< 5.19.0, before 5.19.0CVE List, NVD
openc3 (RubyGems)before 5.19.0GitHub Advisory Database
openc3 (PyPI)before 5.19.0, before a34e61aea5a465f0ab3e57d833ae7ff4cafd710bGitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
GitHub6.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
PyPA Advisory Database6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-22

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

SourceRecordLicence
CVE ListCVE-2024-46977 changed 2024-10-31CVE Terms of Use
GitHub Advisory DatabaseGHSA-8jxr-mccc-mwg8 changed 2024-10-31CC-BY-4.0
NVDCVE-2024-46977 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2024-101 changed 2024-10-08CC-BY-4.0