VDB
KO
MEDIUM 5.6

GHSA-mh64-ph39-mrc9

Cloudflare Quiche: Use-after-free in connection ID iterator FFI functions

Details

### Impact

Cloudflare Quiche was affected by 2 use-after-free vulnerabilities in the connection ID iterator FFI functions.

The `quiche_connection_id_iter_next` and `quiche_conn_retired_scid_next` functions would return a pointer to a `ConnectionId` to the applications via function arguments, but the the owned `ConnectionId` would be dropped at the end of those functions' scope.

Only applications using those FFI functions are affected. The FFI API is disabled by default by a build-time feature flag.

quiche 0.29.2 is the earliest version containing the fix for this issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io / quiche
Introduced in: 0.20.0 Fixed in: 0.29.2

Upgrade quiche to 0.29.2 or newer (ecosystem crates.io).

References