CVE-2024-23644

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-23644
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-23644.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-23644
Aliases
Published
2024-01-24T20:15:53Z
Modified
2024-05-14T13:09:13.070631Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Trillium is a composable toolkit for building internet applications with async rust. In trillium-http prior to 0.3.12 and trillium-client prior to 0.5.4, insufficient validation of outbound header values may lead to request splitting or response splitting attacks in scenarios where attackers have sufficient control over headers. This only affects use cases where attackers have control of request headers, and can insert "\r\n" sequences. Specifically, if untrusted and unvalidated input is inserted into header names or values.

Outbound trillium_http::HeaderValue and trillium_http::HeaderName can be constructed infallibly and were not checked for illegal bytes when sending requests from the client or responses from the server. Thus, if an attacker has sufficient control over header values (or names) in a request or response that they could inject \r\n sequences, they could get the client and server out of sync, and then pivot to gain control over other parts of requests or responses. (i.e. exfiltrating data from other requests, SSRF, etc.)

In trillium-http versions 0.3.12 and later, if a header name is invalid in server response headers, the specific header and any associated values are omitted from network transmission. Additionally, if a header value is invalid in server response headers, the individual header value is omitted from network transmission. Other headers values with the same header name will still be sent. In trillium-client versions 0.5.4 and later, if any header name or header value is invalid in the client request headers, awaiting the client Conn returns an Error::MalformedHeader prior to any network access. As a workaround, Trillium services and client applications should sanitize or validate untrusted input that is included in header values and header names. Carriage return, newline, and null characters are not allowed.

References

Affected packages

Git / github.com/trillium-rs/trillium

Affected ranges

Type
GIT
Repo
https://github.com/trillium-rs/trillium
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

aws-lambda-v0.*

aws-lambda-v0.1.1

trillium-api-v0.*

trillium-api-v0.1.0
trillium-api-v0.2.0-rc.1
trillium-api-v0.2.0-rc.2
trillium-api-v0.2.0-rc.4
trillium-api-v0.2.0-rc.5
trillium-api-v0.2.0-rc.6
trillium-api-v0.2.0-rc.7
trillium-api-v0.2.0-rc.8

trillium-askama-v0.*

trillium-askama-v0.1.0
trillium-askama-v0.2.0
trillium-askama-v0.3.0
trillium-askama-v0.3.1
trillium-askama-v0.3.2

trillium-async-std-v0.*

trillium-async-std-v0.1.0
trillium-async-std-v0.1.1
trillium-async-std-v0.1.2
trillium-async-std-v0.1.3
trillium-async-std-v0.1.4
trillium-async-std-v0.2.0
trillium-async-std-v0.3.1
trillium-async-std-v0.3.2
trillium-async-std-v0.3.3

trillium-aws-lambda-v0.*

trillium-aws-lambda-v0.1.0
trillium-aws-lambda-v0.1.1
trillium-aws-lambda-v0.2.0
trillium-aws-lambda-v0.2.1
trillium-aws-lambda-v0.2.2

trillium-basic-auth-v0.*

trillium-basic-auth-v0.1.0

trillium-caching-headers-v0.*

trillium-caching-headers-v0.1.0
trillium-caching-headers-v0.2.0
trillium-caching-headers-v0.2.1
trillium-caching-headers-v0.2.2

trillium-channels-v0.*

trillium-channels-v0.1.0
trillium-channels-v0.1.1
trillium-channels-v0.2.0
trillium-channels-v0.3.0
trillium-channels-v0.3.1

trillium-client-v0.*

trillium-client-v0.1.0
trillium-client-v0.1.1
trillium-client-v0.2.0
trillium-client-v0.2.1
trillium-client-v0.2.2
trillium-client-v0.3.0
trillium-client-v0.3.1
trillium-client-v0.4.3
trillium-client-v0.4.5
trillium-client-v0.4.6
trillium-client-v0.4.7
trillium-client-v0.4.8
trillium-client-v0.4.9
trillium-client-v0.5.0
trillium-client-v0.5.1
trillium-client-v0.5.2
trillium-client-v0.5.3

trillium-compression-v0.*

trillium-compression-v0.1.0
trillium-compression-v0.1.1

trillium-conn-id-v0.*

trillium-conn-id-v0.1.0
trillium-conn-id-v0.2.0
trillium-conn-id-v0.2.1
trillium-conn-id-v0.2.2

trillium-cookies-v0.*

trillium-cookies-v0.1.0
trillium-cookies-v0.2.0
trillium-cookies-v0.3.0
trillium-cookies-v0.4.0
trillium-cookies-v0.4.1

trillium-forwarding-v0.*

trillium-forwarding-v0.1.0
trillium-forwarding-v0.2.0
trillium-forwarding-v0.2.1
trillium-forwarding-v0.2.2
trillium-forwarding-v0.2.3

trillium-handlebars-v0.*

trillium-handlebars-v0.1.0
trillium-handlebars-v0.2.0
trillium-handlebars-v0.2.1

trillium-head-v0.*

trillium-head-v0.1.0
trillium-head-v0.2.0
trillium-head-v0.2.1

trillium-html-rewriter-v0.*

trillium-html-rewriter-v0.1.0

trillium-http-v0.*

trillium-http-v0.0.1
trillium-http-v0.1.0
trillium-http-v0.1.1
trillium-http-v0.1.2
trillium-http-v0.1.4
trillium-http-v0.1.5
trillium-http-v0.1.6
trillium-http-v0.1.7
trillium-http-v0.1.8
trillium-http-v0.2.0
trillium-http-v0.2.1
trillium-http-v0.2.10
trillium-http-v0.2.11
trillium-http-v0.2.12
trillium-http-v0.2.13
trillium-http-v0.2.14
trillium-http-v0.2.2
trillium-http-v0.2.3
trillium-http-v0.2.4
trillium-http-v0.2.5
trillium-http-v0.2.6
trillium-http-v0.2.7
trillium-http-v0.2.8
trillium-http-v0.2.9
trillium-http-v0.3.1
trillium-http-v0.3.10
trillium-http-v0.3.11
trillium-http-v0.3.2
trillium-http-v0.3.3
trillium-http-v0.3.4
trillium-http-v0.3.5
trillium-http-v0.3.6
trillium-http-v0.3.7
trillium-http-v0.3.8
trillium-http-v0.3.9

trillium-logger-v0.*

trillium-logger-v0.1.0
trillium-logger-v0.1.1
trillium-logger-v0.1.2
trillium-logger-v0.2.0
trillium-logger-v0.4.0
trillium-logger-v0.4.1
trillium-logger-v0.4.2
trillium-logger-v0.4.3
trillium-logger-v0.4.4

trillium-macros-v0.*

trillium-macros-v0.0.1
trillium-macros-v0.0.2
trillium-macros-v0.0.3
trillium-macros-v0.0.5

trillium-method-override-v0.*

trillium-method-override-v0.1.0
trillium-method-override-v0.2.0
trillium-method-override-v0.2.1

trillium-native-tls-v0.*

trillium-native-tls-v0.1.0
trillium-native-tls-v0.3.1
trillium-native-tls-v0.3.2

trillium-proxy-v0.*

trillium-proxy-v0.1.0
trillium-proxy-v0.2.0
trillium-proxy-v0.2.1
trillium-proxy-v0.3.0
trillium-proxy-v0.4.1
trillium-proxy-v0.4.2
trillium-proxy-v0.4.3
trillium-proxy-v0.5.0
trillium-proxy-v0.5.1
trillium-proxy-v0.5.2

trillium-redirect-v0.*

trillium-redirect-v0.1.0
trillium-redirect-v0.1.1

trillium-router-v0.*

trillium-router-v0.1.0
trillium-router-v0.1.1
trillium-router-v0.2.0
trillium-router-v0.3.0
trillium-router-v0.3.1
trillium-router-v0.3.2
trillium-router-v0.3.3
trillium-router-v0.3.4
trillium-router-v0.3.5
trillium-router-v0.3.6

trillium-rustls-v0.*

trillium-rustls-v0.1.0
trillium-rustls-v0.2.0
trillium-rustls-v0.4.0
trillium-rustls-v0.4.1
trillium-rustls-v0.4.2
trillium-rustls-v0.5.0

trillium-server-common-v0.*

trillium-server-common-v0.1.0
trillium-server-common-v0.1.1
trillium-server-common-v0.1.2
trillium-server-common-v0.2.0
trillium-server-common-v0.3.0
trillium-server-common-v0.3.1
trillium-server-common-v0.4.1
trillium-server-common-v0.4.2
trillium-server-common-v0.4.3
trillium-server-common-v0.4.4
trillium-server-common-v0.4.5
trillium-server-common-v0.4.6
trillium-server-common-v0.4.7

trillium-sessions-v0.*

trillium-sessions-v0.1.0
trillium-sessions-v0.2.0
trillium-sessions-v0.3.0
trillium-sessions-v0.4.0
trillium-sessions-v0.4.1
trillium-sessions-v0.4.2
trillium-sessions-v0.4.3

trillium-smol-v0.*

trillium-smol-v0.1.0
trillium-smol-v0.1.1
trillium-smol-v0.1.2
trillium-smol-v0.1.3
trillium-smol-v0.1.4
trillium-smol-v0.2.0
trillium-smol-v0.2.1
trillium-smol-v0.3.1
trillium-smol-v0.3.2
trillium-smol-v0.3.3

trillium-sse-v0.*

trillium-sse-v0.1.0
trillium-sse-v0.1.1

trillium-static-compiled-macros-v0.*

trillium-static-compiled-macros-v0.1.0
trillium-static-compiled-macros-v0.1.1

trillium-static-compiled-v0.*

trillium-static-compiled-v0.1.0
trillium-static-compiled-v0.3.0
trillium-static-compiled-v0.3.1
trillium-static-compiled-v0.4.0
trillium-static-compiled-v0.5.0
trillium-static-compiled-v0.5.1

trillium-static-v0.*

trillium-static-v0.1.0
trillium-static-v0.3.0
trillium-static-v0.3.1
trillium-static-v0.4.0
trillium-static-v0.4.1

trillium-tera-v0.*

trillium-tera-v0.1.0
trillium-tera-v0.2.0
trillium-tera-v0.3.0
trillium-tera-v0.3.1
trillium-tera-v0.3.2

trillium-testing-v0.*

trillium-testing-v0.1.0
trillium-testing-v0.1.1
trillium-testing-v0.2.0
trillium-testing-v0.3.1
trillium-testing-v0.4.0
trillium-testing-v0.4.1
trillium-testing-v0.4.2
trillium-testing-v0.5.1
trillium-testing-v0.5.2

trillium-tls-common-v0.*

trillium-tls-common-v0.1.0

trillium-tokio-v0.*

trillium-tokio-v0.1.0
trillium-tokio-v0.1.1
trillium-tokio-v0.1.2
trillium-tokio-v0.1.3
trillium-tokio-v0.1.4
trillium-tokio-v0.2.0
trillium-tokio-v0.2.1
trillium-tokio-v0.3.1
trillium-tokio-v0.3.2
trillium-tokio-v0.3.3
trillium-tokio-v0.3.4

trillium-v0.*

trillium-v0.0.1
trillium-v0.1.0
trillium-v0.1.1
trillium-v0.1.2
trillium-v0.1.3
trillium-v0.1.4
trillium-v0.1.5
trillium-v0.2.0
trillium-v0.2.1
trillium-v0.2.10
trillium-v0.2.11
trillium-v0.2.12
trillium-v0.2.13
trillium-v0.2.2
trillium-v0.2.3
trillium-v0.2.4
trillium-v0.2.5
trillium-v0.2.6
trillium-v0.2.7
trillium-v0.2.8

trillium-websockets-0.*

trillium-websockets-0.1.1

trillium-websockets-v0.*

trillium-websockets-v0.1.0
trillium-websockets-v0.1.1
trillium-websockets-v0.2.0
trillium-websockets-v0.3.0
trillium-websockets-v0.4.0
trillium-websockets-v0.5.0
trillium-websockets-v0.5.1
trillium-websockets-v0.5.2
trillium-websockets-v0.6.0
trillium-websockets-v0.6.1
trillium-websockets-v0.6.2
trillium-websockets-v0.6.3