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

CVE-2024-46977 · Severity: low · CVSS 3.1 · Published 2024-10-02

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.

Technologies: openc3 (PyPI), openc3 (RubyGems). Vendors: PyPI, RubyGems.

Quick answers

Is CVE-2024-46977 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-46977 being exploited in the wild.
How severe is CVE-2024-46977?
Low severity, with a CVSS score of 3.1, published 2 October 2024.
Which products and versions are affected?
openc3 (PyPI) GIT:introduced=0,fixed=a34e61aea5a465f0ab3e57d833ae7ff4cafd710b|ECOSYSTEM:introduced=0,fixed=5.19.0; openc3 (RubyGems) ECOSYSTEM:introduced=0,fixed=5.19.0.
Is there a fix for CVE-2024-46977?
Yes. openc3 (PyPI): upgrade to 5.19.0 or later; openc3 (RubyGems): upgrade to 5.19.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-46977?
Check whether you run openc3 (PyPI) or openc3 (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • openc3 (PyPI): upgrade to 5.19.0 or later
    pip install "openc3>=5.19.0"
  • openc3 (RubyGems): upgrade to 5.19.0 or later
    bundle update openc3

Affected products

  • openc3 (PyPI) GIT:introduced=0,fixed=a34e61aea5a465f0ab3e57d833ae7ff4cafd710b|ECOSYSTEM:introduced=0,fixed=5.19.0
  • openc3 (RubyGems) ECOSYSTEM:introduced=0,fixed=5.19.0

Identifiers

  • CVE-2024-46977
  • GHSA-8jxr-mccc-mwg8
  • PYSEC-2024-101

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.