CrowdSec
CrowdSec AppSec silently drops request body for chunked / HTTP-2 requests
CrowdSec offers crowdsourced protection against malicious IPs. From 1.5.0 until 1.7.8, pkg/appsec/request.go NewParsedRequestFromRequest allocated a request body buffer from max(r.ContentLength, 0), so HTTP/1.1 requests using Transfer-Encoding: chunked and HTTP/2 requests without a content-length header produced an empty body and caused WAF rules targeting REQUEST_BODY, BODY_ARGS, ARGS_POST, JSON, or XML to be skipped. This issue is fixed in version 1.7.8.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.2high · scored by CNA · CWE-693
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
crowdsecurity crowdsec
- >= 1.5.0, < 1.7.8
Fixed in 1.7.8
Mitigation
Upgrade crowdsec to 1.7.8 or later.
References
- Vendor advisory github.com/crowdsecurity/crowdsec/security/adv…
- Patch github.com/crowdsecurity/crowdsec/pull/4355
- Patch github.com/crowdsecurity/crowdsec/commit/3d5c4…
2 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.