CVE-2024-46977
MEDIUM6.5EPSS 1.1%OpenC3 Path Traversal via screen controller (`GHSL-2024-127`)
Published: 10/2/2024Modified: 10/31/2024
Description
### 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 (3)
- PyPI/openc3from 0, < 5.19.0
- PyPI/openc3from 0, < a34e61aea5a465f0ab3e57d833ae7ff4cafd710b | from 0, < 5.19.0
- RubyGems/openc3from 0, < 5.19.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-46977
- ADVISORYhttps://securitylab.github.com/advisories/GHSL-2024-127_GHSL-2024-129_OpenC3_COSMOS
- PATCHhttps://github.com/OpenC3/cosmos
- WEBhttps://github.com/OpenC3/cosmos/commit/a34e61aea5a465f0ab3e57d833ae7ff4cafd710b
- WEBhttps://github.com/OpenC3/cosmos/security/advisories/GHSA-8jxr-mccc-mwg8
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/openc3/PYSEC-2024-101.yaml
- WEBhttps://rubysec.com/advisories/CVE-2024-46977