httpx2 is vulnerable to HTTP Header Injection
53
Medium Risk
When serializing multipart form data, user-controlled content_type values and custom part headers passed through the file upload API are interpolated between CRLF delimiters without validation. Carriage return and line feed characters in that metadata inject additional part headers into the multipart body. The forged lines may be interpreted as legitimate headers, altering part semantics or bypassing checks. The fix rejects forbidden control characters and raises an error before serialization.
You are affected if you are using a version that falls within the vulnerable range and you pass user-controlled values into the content_type or custom headers of multipart file uploads.
httpx2 is vulnerable to HTTP Header Injection in versions 0.0.1 - 2.10.0.
Upgrade the httpx2 library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant