Summary
c-icap-server has an out-of-bounds write in process_encapsulated() that can corrupt heap memory and lead to use-after-free and double free. It is rated CVSS 4.0 score 9.2 (critical severity).
What happened
According to the description, c-icap-server through 0.5.15 and 0.6.5 contains an out-of-bounds write in the process_encapsulated() function. An unauthenticated attacker can corrupt heap memory with a single crafted ICAP request. That corruption triggers a use-after-free and a double free in ci_request_destroy() during request teardown. The weakness is classified as CWE-415 (double free). The CVSS 4.0 vector indicates network access, high attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity and availability of the vulnerable system.
Why it matters
The CVSS 4.0 score is 9.2, with critical severity, assigned by CNA:VulnCheck. The flaw is reachable over the network without authentication and affects the memory integrity of the server. The source does not detail concrete consequences beyond memory corruption, use-after-free and double free. The source does not report known active exploitation or any evidence of zero-day exploitation.
Affected products and versions
c-icap-server (vendor: c-icap): versions < 0.5.16 and versions >= 0.6.0, < 0.6.6. The description phrases this as through 0.5.15 and 0.6.5.
| Product | Versions | Fixed in |
|---|---|---|
| c-icap c-icap-server | < 0.5.16 | — |
| c-icap c-icap-server | >= 0.6.0, < 0.6.6 | — |
Action recommended by the source
The source does not state fixed versions or upgrade or mitigation instructions. The references link to several patch commits in the project repository (github.com/c-icap/c-icap-server) and to a VulnCheck advisory, which are worth consulting to check the fix status.
Sources and references
- https://github.com/c-icap/c-icap-server/commit/05dcead8dc838cce2f403fca447791a1676faea3 — CVE Program
- https://github.com/c-icap/c-icap-server/commit/34de3194b136 — CVE Program
- https://github.com/c-icap/c-icap-server/commit/a2ed1d4d1ad7 — CVE Program
- https://github.com/c-icap/c-icap-server/blob/C_ICAP_0.6.5/request_common.c#L503 — CVE Program
- https://github.com/c-icap/c-icap-server — CVE Program
- https://www.vulncheck.com/advisories/c-icap-server-through-0.5.15-and-0.6.5-double-free-via-process-encapsulated — CVE Program
Weaknesses (CWE): CWE-415
Relevant change history
Advisory correction
The preliminary version was replaced by the full write-up.
Published
Preliminary advisory published.