Advisory

PYSEC-2024-248

Also known as: CVE-2024-48911, GHSA-pf5v-pqfv-x8jj

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2024-10-14 21:15 UTC
Modified
2025-05-16 14:56 UTC

Affected packages and fixes

opencanary

PyPI · All systems

Affected

  • introduced 0, fixed 0.9.4 (ecosystem)

Fixed versions

0.9.4

Fix

  • Fixed version 0.9.4
    pip install --upgrade opencanary==0.9.4

Fix 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

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences