NetSight
high6.5

CVE-2024-46977

OpenC3 Path Traversal via screen controller (`GHSL-2024-127`)

Impact

### 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.

Affected packages

EcosystemPackageAffectedFixed in
rubygemsopenc3< 5.19.05.19.0
pipopenc3< 5.19.05.19.0

Affected products

VendorProductAffected versions
Openc3Cosmos
before 5.19.0

Weakness classification

References