Cowboy 2.18 fixes a number of security vulnerabilities and improves the security checklist.
Cowboy 2.18 updates Cowlib to 2.19.0. Both applications must be updated as they both contain security fixes.
Cowboy 2.18 requires Erlang/OTP 24.0 or greater.
max_cookies option to cowboy_req functions that parse cookies. This new limit is applied in addition to existing length limits. It defaults to 100. Note that the option can't be overriden when parsing the cookie header via parse_header.
int constraint. A custom constraint can be written should the limit be a problem.
max_headers HTTP/1.1 option now better tracks duplicate header field lines.
max_frame_size under certain conditions. This is now resolved.
cowboy_req:read_urlencoded_body/2 and cowboy_req:read_and_match_urlencoded_body/3 will now use the correct defaults for options in all cases.
Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:
Recurring payment options are also available via GitHub Sponsors. These funds are used to cover the recurring expenses like food, dedicated servers or domain names.