c-icap: Denial of service — GLSA 201409-07

A vulnerability in c-icap could result in Denial of Service.

Affected packages

net-proxy/c-icap on all architectures
Affected versions < 0.2.6
Unaffected versions >= 0.2.6

Background

c-icap is an implementation of an ICAP server. It can be used with HTTP proxies that support the ICAP protocol to implement content adaptation and filtering services.

Description

c-icap contains a flaw in the parse_request() function of request.c that may allow a remote denial of service. The issue is triggered when the buffer fails to contain a ‘ ‘ or ‘?’ symbol, which will cause the end pointer to increase and surpass allocated memory. With a specially crafted request (e.g. via the OPTIONS method), a remote attacker can cause a loss of availability for the program.

Impact

A remote attacker may cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All c-icap users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=net-proxy/c-icap-0.2.6"
 

References

Release date
September 19, 2014

Latest revision
September 19, 2014: 1

Severity
normal

Exploitable
remote

Bugzilla entries