Please don't report a security problem in a public issue. Use GitHub's private vulnerability reporting instead: report one here. Only the maintainers see the report, and the discussion stays private until a fix is out.
Plumeria parses requests from the network, so these are vulnerabilities:
- a request that gets past the framing rules, such as request smuggling
through
Content-LengthandTransfer-Encoding, a header or chunk that splits one request into two, or a bare CR or LF taken as a line end (requests and responses); - a response header that carries a CR or LF onto the wire, or a WebSocket subprotocol that does;
- a request that holds a connection, memory or a file descriptor past the configured limits and clocks (limits and timeouts);
wrap-staticserving a file outside its root, a dotfile, or a symlink it should refuse (static files);- forwarded headers believed from a peer that isn't in
:trusted-proxies; :run-asleaving the process able to get root back, or anything accepted before the drop (HTTPS);- a private key, an ACME account key or a certificate written somewhere other
users can read, or printed in a log line or an
:on-errorevent.
Your handler runs with the server's privileges, on the connection's fiber,
and plumeria doesn't sandbox it: a handler that reads any path it's given, or
blocks a carrier with a foreign call, is the app's bug. The same goes for
ring-core middleware you add, and for limits you raise or turn off. A server
binds 127.0.0.1 unless you pass :host; exposing it is your choice.
A request that plumeria answers more strictly than another server (a 400 where another one would accept) is a normal issue, not a security report.
Plumeria hasn't had a release yet. Fixes go to main, and that's the version
to run.