Advisory

GHSA-8jxr-mccc-mwg8

Also known as: CVE-2024-46977, PYSEC-2024-101

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-10-02 19:29 UTC
Modified
2024-10-31 14:00 UTC

Affected packages and fixes

openc3

RubyGems · All systems

Affected

  • introduced 0, fixed 5.19.0 (ecosystem)

Fixed versions

5.19.0

Fix

The export has no generic command for this ecosystem.

openc3

PyPI · All systems

Affected

  • introduced 0, fixed 5.19.0 (ecosystem)

Fixed versions

5.19.0

Fix

  • Fixed version 5.19.0
    pip install --upgrade openc3==5.19.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences