CVE-2024-48911 OpenCanary Executes Commands From Potentially Writable Config File
MediumCVSS 5.8
EPSS 0.22%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi opencanary(PyPI) | < 0.9.4; < 0.9.5; = 0.2; = 0.3 +21 more | 0.9.4, 0.9.5 | Fixed |
| thinkst opencanary | < 0.9.4; = < 0.9.4 | 0.9.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi opencanary(PyPI) | < 0.9.5 | 0.9.5 |
| pypi opencanary(PyPI) | = 0.2 | No fix listed |
| pypi opencanary(PyPI) | = 0.3 | No fix listed |
| pypi opencanary(PyPI) | = 0.3.1 | No fix listed |
| pypi opencanary(PyPI) | = 0.3.2 | No fix listed |
| pypi opencanary(PyPI) | = 0.4 | No fix listed |
| pypi opencanary(PyPI) | = 0.5 | No fix listed |
| pypi opencanary(PyPI) | = 0.5.1 | No fix listed |
| pypi opencanary(PyPI) | = 0.5.2 | No fix listed |
| pypi opencanary(PyPI) | = 0.5.4 | No fix listed |
| pypi opencanary(PyPI) | = 0.5.5 | No fix listed |
| pypi opencanary(PyPI) | = 0.5.6 | No fix listed |
| pypi opencanary(PyPI) | = 0.5.7 | No fix listed |
| pypi opencanary(PyPI) | = 0.5.8 | No fix listed |
| pypi opencanary(PyPI) | = 0.6.0 | No fix listed |
| pypi opencanary(PyPI) | = 0.6.1 | No fix listed |
| pypi opencanary(PyPI) | = 0.6.2 | No fix listed |
| pypi opencanary(PyPI) | = 0.6.3 | No fix listed |
| pypi opencanary(PyPI) | = 0.7.1 | No fix listed |
| pypi opencanary(PyPI) | = 0.9.0 | No fix listed |
| pypi opencanary(PyPI) | = 0.9.1 | No fix listed |
| pypi opencanary(PyPI) | = 0.9.2 | No fix listed |
| pypi opencanary(PyPI) | = 0.9.3 | No fix listed |
| pypi opencanary(PyPI) | = 0.9.4 | No fix listed |
| pypi opencanary(PyPI) | < 0.9.4 | 0.9.4 |
Show 2 more
| Product | Affected versions | Fixed in |
|---|---|---|
| thinkst opencanary | = < 0.9.4 | No fix listed |
| thinkst opencanary | < 0.9.4 | 0.9.4 |
References
- https://github.com/thinkst/opencanary/security/advisories/GHSA-pf5v-pqfv-x8jj vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/thinkst/opencanary/commit/2c11575b1a3dd8b0df26a879ba856c0aa350c049 patch
- github.com
- github.com product
- https://github.com/thinkst/opencanary/releases/tag/v0.9.4 release-notes
- github.com