{"id":"CVE-2024-48911","aliases":["CVE-2024-48911","GHSA-pf5v-pqfv-x8jj","PYSEC-2024-248"],"related":[],"kind":"vulnerability","state":"published","title":"OpenCanary Executes Commands From Potentially Writable Config File","summary":"OpenCanary, a multi-protocol network honeypot, directly executed commands taken from its config file. Prior to version 0.9.4, where the config file is stored in an unprivileged user directory but the daemon is executed by root, it’s possible for the unprivileged user to change the config file and escalate permissions when root later runs the daemon. Version 0.9.4 contains a fix for the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenCanary, a multi-protocol network honeypot, directly executed commands taken from its config file. Prior to version 0.9.4, where the config file is stored in an unprivileged user directory but the daemon is executed by root, it’s possible for the unprivileged user to change the config file and escalate permissions when root later runs the daemon. Version 0.9.4 contains a fix for the issue.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nOpenCanary directly executed commands taken from its config file. Where the config file is stored in an unprivileged user directory but the daemon is executed by root, it’s possible for the unprivileged user to change the config file and escalate permissions when root later runs the daemon.\n\nThanks to the folks at [Whirlylabs](https://whirlylabs.com/) for finding and fixing this.\n\n### Patches\n\nUpgrade to 0.9.4 or higher.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OpenCanary, un honeypot de red multiprotocolo, ejecutaba directamente comandos tomados de su archivo de configuración. Antes de la versión 0.9.4, donde el archivo de configuración se almacenaba en un directorio de usuario sin privilegios pero el daemon lo ejecutaba el usuario root, era posible que el usuario sin privilegios cambiara el archivo de configuración y aumentara los permisos cuando el usuario root ejecutaba posteriormente el daemon. La versión 0.9.4 contiene una solución para el problema.","source":"nvd"}],"published":"2024-10-14T20:45:57.810Z","modified":"2026-06-17T07:59:01.373Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N","score":5.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N","score":5.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":"< 0.9.4","status":"affected"}],"vendor":"thinkst","product":"opencanary","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.9.5"}],"ecosystem":"PyPI","package":"opencanary","purl":"pkg:pypi/opencanary","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.9.4"}],"vendor":"thinkst","product":"opencanary","cpe":"cpe:2.3:a:thinkst:opencanary:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.9.4"}],"ecosystem":"PyPI","package":"opencanary","purl":"pkg:pypi/opencanary","source":"pysec"}],"references":[{"url":"https://github.com/thinkst/opencanary/security/advisories/GHSA-pf5v-pqfv-x8jj","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/thinkst/opencanary/commit/2c11575b1a3dd8b0df26a879ba856c0aa350c049","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/thinkst/opencanary/releases/tag/v0.9.4","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48911","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/opencanary/PYSEC-2024-248.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/thinkst/opencanary","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-15T14:44:31.145Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-48911","url":"https://www.cve.org/CVERecord?id=CVE-2024-48911","licence":"CVE Terms of Use","modified":"2024-10-15T14:44:42.093Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pf5v-pqfv-x8jj","url":"https://github.com/advisories/GHSA-pf5v-pqfv-x8jj","licence":"CC-BY-4.0","modified":"2025-05-16T22:39:09.404Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-48911","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48911","licence":"Public domain","modified":"2026-06-17T07:59:01.373Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2024-248","url":"https://osv.dev/vulnerability/PYSEC-2024-248","licence":"CC-BY-4.0","modified":"2025-05-16T14:56:49.762Z"}],"updatedAt":"2026-11-25T22:58:46.739Z","epss":{"score":0.00336,"percentile":0.19539,"date":"2026-11-30T12:00:22.000Z"}}