Advisories

Coconut through 3.3.0 Code Execution via Jupyter Kernel Module Hijacking

Go back
Severity
high
Date
Affecting
  • coconut <= 3.3.0

CWE
  • CWE-427 Uncontrolled Search Path Element
CVSS
8.5
CVSS V4 Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Credit
Dilanka Kaushal Hewage (r3vpwnx)
Description
Coconut through 3.3.0 contains an untrusted search path vulnerability in its Jupyter kernelspec that allows attackers to execute code by placing a malicious coconut package beside a notebook. Because python -m coconut.icoconut puts the notebook's directory first on sys.path, a planted coconut/__init__.py runs as the user when the notebook opens and the kernel auto-starts.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.