Vulnerability · Published Oct 14, 2024 · Assigned by GitHub_M
CVE-2024-48911OpenCanary Executes Commands From Potentially Writable Config File
Medium 5.8
In plain English
A medium-severity incorrect authorization in opencanary from thinkst. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | opencanary | 0.9.5 | GHSA-pf5v-pqfv-x8jj |
| PyPI | opencanary | 0.9.4 | PYSEC-2024-248 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| thinkst | opencanary | < 0.9.4 |
Weakness: CWE-863 · 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