Skip to content

cider-jack-in starts a network repl that listens on all interfaces without authentication #2482

Closed
@erno

Description

@erno

This is a security vulnerability as there is no authentication. As I understand it, CIDER now lets anyone from the internet connect to the REPL and execute code. Leiningen doesn't seem to have this problem, there "lein repl :headless" uses localhost by default.

(Allowing any user/process from localhost to run code without authentication is also a vulnerability but a smaller one.)

I installed cider from melpa unstable last week, cider-version returns "CIDER 0.18.1snapshot (package: 20180930.1836)"

I don't know elisp but are the default values in defcustom on the first line? In this case, the line at

cider/cider.el

Line 111 in a5cbaef

"repl :headless :host ::"
should be changed to say :host localhost (and or authentication & TLS added to the repl).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions