Bug ID 433781: Rewrite generates a core dump when processing HTTP response with specific headers

Last Modified: Oct 17, 2023

Affected Product(s):
BIG-IP APM(all modules)

Known Affected Versions:
11.4.0, 11.4.1

Fixed In:
11.4.0 HF6

Opened: Oct 14, 2013

Severity: 3-Major

Related Article: K14944

Symptoms

When length of response code + response text equals to 32 rewrite plugin generates a core dump and writes a Backtrace and error message into log file. No specific log for exactly this case is printed. Log file looks like this: notice rewrite - RewritePlugin.cpp:1505 : Response ContentLength: 17 uri:/32_bytes_response.php notice rewrite - RewritePlugin.cpp:1605 : Modify Response Headers returns 0 :1 deleted, 0 inserted, 0 modified notice rewrite - RewritePlugin.cpp:1607 : Response Status : 200, URI: /32_bytes_response.php notice rewrite - RewritePlugin.cpp:1701 : Patchable, rechunk notice *** glibc detected *** rewrite.1: munmap_chunk(): invalid pointer: 0x00007fff784dbe00 *** notice ======= Backtrace: ========= ... backtrace here ...

Impact

Users are unable to access such resources. Access becomes offline for a short period of time (while service is restarting)

Conditions

BIG-IP 11.x with portal access; Backend that sends HTTP response code + response text with length equals to 32, f.e. "302 Redirected by M86 Web Filter"

Workaround

None

Fix Information

APM now correctly processes any HTTP headers.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips