PT-2026-45839 · Tesla · Tesla
CVSS v4.0
2.1
Low
| Vector | AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Name of the Vulnerable Software and Affected Versions
tesla versions 0.8.0 through 1.18.2
Description
Improper Neutralization of CRLF Sequences in HTTP Headers, also known as HTTP Request/Response Splitting, allows HTTP header injection. The function
add content type param/2 within the Tesla.Multipart module appends caller-supplied strings to the content type params list without validating for Carriage Return (r) or Line Feed ( ) characters. Subsequently, the headers/1 function in Tesla.Multipart joins these parameters verbatim to construct the outgoing Content-Type header. If a parameter contains r , it splits the header line, enabling the injection of arbitrary headers into the outbound HTTP request. This occurs when an application forwards untrusted input, such as a user-supplied charset or parameter string, into the add content type param/2 function.Recommendations
Update to version 1.18.3 or later.
As a temporary workaround, validate content-type parameter strings before passing them to the
add content type param/2 function, rejecting any value that contains r or .Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Tesla