mint is vulnerable to Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
63
Medium Risk
Affected versions of mint are vulnerable to HTTP response smuggling in the Mint.HTTP1 chunked response body decoder (decode_body/5). The decoder parses chunk-size lines with Integer.parse(data, 16), which accepts optional leading + or - characters in violation of RFC 7230, where chunk-size must be hexadecimal digits only. Chunk-size lines such as +5, +0, and -0 are accepted by Mint but rejected by RFC-strict intermediaries (proxies, load balancers, or WAFs). On pooled keep-alive HTTP/1 connections, a malicious or attacker-influenced origin can desynchronize Mint and a strict intermediary on response boundaries, inject bytes that Mint attributes to the next legitimate response, and poison the response queue for unrelated in-flight requests on the same connection.
You are affected if you are using a version that falls within the vulnerable range and your application uses Mint as an HTTP/1 client to talk to remote origins through an RFC-strict intermediary (proxy, load balancer, or WAF) with reused keep-alive connections. Deployments where Mint connects directly to an origin without an intermediary, or does not reuse connections, are not exploitable for response-queue poisoning even on vulnerable versions.
mint is vulnerable to Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') in versions 0.1.0 - 1.9.2.
Upgrade the mint 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