CVE-2024-48911
MEDIUM 5.8CVSS 4.0OpenCanary Executes Commands From Potentially Writable Config File
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.
- Published
- 14 Oct 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-863
- Also known as
- GHSA-pf5v-pqfv-x8jjPYSEC-2024-248
- Sources
- NVDJSONOSV GHSA-pf5v-pqfv-x8jjJSONOSV PYSEC-2024-248JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.8 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | thinkst | opencanarycpe:2.3:a:thinkst:opencanary:*:*:*:*:*:*:*:* |
< 0.9.4 | 0.9.4 |
| OSV | PyPI | opencanary | < 0.9.5 | 0.9.5 |
| OSV | PyPI | opencanary | < 0.9.4 | 0.9.4 |
References
- https://github.com/thinkst/opencanary/commit/2c11575b1a3dd8b0df26a879ba856c0aa350c049 · Patch, WEB, FIX
- https://github.com/thinkst/opencanary/releases/tag/v0.9.4 · Release Notes, WEB
- https://github.com/thinkst/opencanary/security/advisories/GHSA-pf5v-pqfv-x8jj · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-48911 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/opencanary/PYSEC-2024-248.yaml · WEB
- https://github.com/thinkst/opencanary · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 14 Oct 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 14 Oct 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 14 Oct 2024)