{"id":"CVE-2024-46977","aliases":["CVE-2024-46977","GHSA-8jxr-mccc-mwg8","PYSEC-2024-101"],"related":[],"kind":"vulnerability","state":"published","title":"OpenC3 COSMOS allows a path traversal via screen controller (`GHSL-2024-127`)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\nA 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).\n\nNote: This CVE affects all OpenC3 COSMOS Editions\n\n### Impact\nThis issue may lead to Information Disclosure.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenC3 COSMOS proporciona la funcionalidad necesaria para enviar comandos a uno o más sistemas integrados y recibir datos de ellos. Una vulnerabilidad de path traversal dentro del método open_local_file de LocalMode permite que un usuario autenticado con los permisos adecuados descargue cualquier archivo .txt a través de ScreensController#show en el servidor web en el que se ejecuta COSMOS (según los permisos de archivo). Esta vulnerabilidad se corrigió en la versión 5.19.0.","source":"nvd"}],"published":"2024-10-02T19:17:14.049Z","modified":"2026-06-17T07:56:18.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 5.19.0","status":"affected"}],"vendor":"OpenC3","product":"cosmos","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.19.0"}],"ecosystem":"RubyGems","package":"openc3","purl":"pkg:gem/openc3","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.19.0"}],"ecosystem":"PyPI","package":"openc3","purl":"pkg:pypi/openc3","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.19.0"},{"status":"affected","fixed":"5.19.0"}],"vendor":"openc3","product":"cosmos","cpe":"cpe:2.3:a:openc3:cosmos:*:*:*:*:enterprise:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"a34e61aea5a465f0ab3e57d833ae7ff4cafd710b"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.19.0"}],"ecosystem":"PyPI","package":"openc3","purl":"pkg:pypi/openc3","repo":"https://github.com/OpenC3/cosmos","source":"pysec"}],"references":[{"url":"https://github.com/OpenC3/cosmos/security/advisories/GHSA-8jxr-mccc-mwg8","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/OpenC3/cosmos/commit/a34e61aea5a465f0ab3e57d833ae7ff4cafd710b","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://securitylab.github.com/advisories/GHSL-2024-127_GHSL-2024-129_OpenC3_COSMOS","tags":["advisory","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46977","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/OpenC3/cosmos","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/openc3/PYSEC-2024-101.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://rubysec.com/advisories/CVE-2024-46977","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-02T19:53:40.786Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-46977","url":"https://www.cve.org/CVERecord?id=CVE-2024-46977","licence":"CVE Terms of Use","modified":"2024-10-31T13:54:04.947Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8jxr-mccc-mwg8","url":"https://github.com/advisories/GHSA-8jxr-mccc-mwg8","licence":"CC-BY-4.0","modified":"2024-10-31T14:00:54.475Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-46977","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46977","licence":"Public domain","modified":"2026-06-17T07:56:18.110Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2024-101","url":"https://osv.dev/vulnerability/PYSEC-2024-101","licence":"CC-BY-4.0","modified":"2024-10-08T17:57:06.644Z"}],"updatedAt":"2026-11-25T22:58:45.991Z","epss":{"score":0.00912,"percentile":0.61099,"date":"2026-12-01T12:00:22.000Z"}}