Description
c-icap-server through 0.5.15 and 0.6.5 contains an out-of-bounds write in process_encapsulated() that allows unauthenticated attackers to corrupt heap memory by sending six Encapsulated entities. Attackers can send a single ICAP request whose sixth entity overwrites trash_entities[0], triggering use-after-free and double free in ci_request_destroy() during teardown.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
c-icap c-icap-server
Default version status: unaffected
0 to < 0.5.16affected0.6.0 to < 0.6.6affected
pkg:github/c-icap/c-icap-serverReferences
- https://github.com/c-icap/c-icap-server/commit/05dcead8dc838cce2f403fca447791a1676faea3 ↗
- https://github.com/c-icap/c-icap-server/commit/34de3194b136 ↗
- https://github.com/c-icap/c-icap-server/commit/a2ed1d4d1ad7 ↗
- https://github.com/c-icap/c-icap-server/blob/C_ICAP_0.6.5/request_common.c#L503 ↗
- https://github.com/c-icap/c-icap-server ↗
- https://www.vulncheck.com/advisories/c-icap-server-through-0.5.15-and-0.6.5-double-free-via-process-encapsulated ↗