CVE-2024-48911 json
OpenCanary Executes Commands From Potentially Writable Config File
published 2y ago modified 4mo ago also GHSA-pf5v-pqfv-x8jj , PYSEC-2024-248 , EUVD-2024-3096
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 13%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi opencanary 0.9.4, 0.9.5
- thinkst opencanary 0.9.4
Is CVE-2024-48911 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | opencanary | <0.9.5 <0.9.4 |
0.9.5 0.9.4 |
Affected products
- thinkst opencanary
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
github.com
/thinkst/opencanary/commit/2c11575b1a3dd8b0df26a879ba856c0aa350c049
web, patch
-
github.com
/thinkst/opencanary/security/advisories/GHSA-pf5v-pqfv-x8jj
web, vendor-advisory, advisory
-
github.com
/thinkst/opencanary/releases/tag/v0.9.4
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2024-48911
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/opencanary/PYSEC-2024-248.yaml
web
-
github.com
/thinkst/opencanary
package
Sources
- CVE List CVE-2024-48911
- GitHub Advisory GHSA-pf5v-pqfv-x8jj
- NVD CVE-2024-48911
- OSV PYSEC-2024-248
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.