SecurityContext

CVE-2024-46977: OpenC3 COSMOS - Path Traversal

  • Cve: CVE-2024-46977
  • Name: OpenC3 COSMOS - Path Traversal
  • 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.
  • Impact: Authenticated users can download arbitrary text files, potentially exposing sensitive information.
  • Remediation: Update to version 5.19.0 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker needs to be an authenticated user with adequate permissions
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00912
  • Epss percentile: 0.60775
  • Assignee: [email protected]
  • Published at: 2024-10-02T20:15:11Z
  • Age in days: 783
  • Modified at: 2026-06-17T07:56:18Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-46977
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/OpenC3/cosmos/commit/a34e61aea5a465f0ab3e57d833ae7ff4cafd710bPatch
https://github.com/OpenC3/cosmos/security/advisories/GHSA-8jxr-mccc-mwg8Vendor Advisory
https://securitylab.github.com/advisories/GHSL-2024-127_GHSL-2024-129_OpenC3_COSMOS

Products

ProductAffectedPlatform boundSourcesUrl
openc3:cosmos< 5.19.0nonvd/v1/products/openc3/cosmos

Projects

RepositoryLink kindsIndexedUrl
OpenC3/cosmoscommit, fix, package, security_advisoryyes/v1/repositories/OpenC3/cosmos

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts