opencanary
Affected
- introduced
0, fixed0.9.5(ecosystem)
Fixed versions
0.9.5
Fix
- Fixed version
0.9.5pip install --upgrade opencanary==0.9.5
Advisory
Also known as: CVE-2024-48911, PYSEC-2024-248
OpenCanary Executes Commands From Potentially Writable Config File
Impact
OpenCanary 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.
Thanks to the folks at Whirlylabs for finding and fixing this.
Patches
Upgrade to 0.9.4 or higher.
Medium Basis: The source's own band: MODERATE
0, fixed 0.9.5 (ecosystem)0.9.5
0.9.5pip install --upgrade opencanary==0.9.5Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0