bandit is vulnerable to CRLF Injection
53
CVE Score
Medium
CRLF Injection
In bandit, hTTP/2 header field values containing CR, LF or NUL are passed to the application unvalidated in Bandit. Bandit.HTTP2.Stream.read_headers/1 validates pseudo-header placement and uniqueness, header-name casing, connection-specific headers, the te value, and content-length, but never checks field *values*. Because HPACK carries arbitrary octets, a HEADERS block whose field values contain \r, \n, or \0 decodes without error and the values land in conn.req_headers unchanged.
Upgrade the bandit library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
1.4.0 - 1.12.4
Fixed in 1.12.5bandit is vulnerable to CRLF Injection in versions 1.4.0 - 1.12.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.