CVE-2026-48596
Beschrijving NL
Onjuiste neutralisatie van CRLF-sequenties in HTTP-headers ('HTTP Request/Response Splitting') kwetsbaarheid in elixir-tesla tesla maakt HTTP-headerinjectie mogelijk via Tesla.Multipart.add_content_type_param/2. Tesla.Multipart.add_content_type_param/2 voegt door de beller geleverde tekenreeksen toe aan de lijst met multipart content_type_params zonder te valideren voor CR (r) of LF (n) -tekens. Tesla.Multipart.headers/1 voegt zich dan letterlijk bij deze params met "; " om de uitgaande Content-Type headerwaarde te construeren. Een parameter met rn splitst de kopregel, waardoor willekeurige kopteksten in het uitgaande HTTP-verzoek kunnen worden geïnjecteerd. Elke toepassing die niet-vertrouwde invoer doorstuurt (zoals een door de gebruiker geleverde tekenset of parameterreeks) naar add_content_type_param/2, wordt beïnvloed. Dit probleem heeft invloed op de tesla: van 0.8.0 voor 1.18.3.
Origineel (Engels) tonen
Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') vulnerability in elixir-tesla tesla allows HTTP header injection via Tesla.Multipart.add_content_type_param/2.
Tesla.Multipart.add_content_type_param/2 appends caller-supplied strings to the multipart content_type_params list without validating for CR (r) or LF (n) characters. Tesla.Multipart.headers/1 then joins these params verbatim with "; " to construct the outgoing Content-Type header value. A param containing rn splits the header line, allowing arbitrary headers to be injected into the outbound HTTP request. Any application that forwards untrusted input (such as a user-supplied charset or parameter string) into add_content_type_param/2 is affected.
This issue affects tesla: from 0.8.0 before 1.18.3.