Bug ID 465052: Some HTTP::cookie iRule commands can cause TMM to core if required arguments are missing

Last Modified: Sep 13, 2023

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

Known Affected Versions:
10.2.4, 11.5.1 HF1, 11.5.1 HF2, 11.5.1 HF3, 11.5.1 HF4, 11.5.1 HF5, 11.5.1 HF6, 11.5.1 HF7, 11.5.1 HF8, 11.5.1 HF9, 11.5.1 HF10, 11.5.1 HF11, 11.5.2 HF1, 11.5.3 HF1, 11.5.3 HF2, 11.5.4 HF1, 11.5.4 HF2, 11.5.4 HF3, 11.5.4 HF4, 11.2.0, 11.2.1, 11.3.0, 11.4.0, 11.4.1, 11.5.0, 11.5.1, 11.6.0, 11.6.1, 11.6.2, 11.6.3, 11.6.3.1, 11.6.3.2, 11.6.3.3, 11.6.3.4, 11.6.4, 11.6.5, 11.6.5.1, 11.6.5.2, 11.6.5.3, 12.1.0 HF1, 12.1.0 HF2, 12.1.1 HF1, 12.1.1 HF2, 12.1.2 HF1, 12.1.2 HF2

Fixed In:
12.0.0, 11.6.0 HF6, 11.5.2, 11.4.1 HF9

Opened: May 30, 2014

Severity: 3-Major

Related Article: K16060

Symptoms

TMM cores when executing an HTTP::cookie command in an iRule. If the command does not have the minimum required number of arguments, the code is not checking for this condition; it assumes they are there.

Impact

Traffic disrupted while tmm restarts.

Conditions

An iRule command must execute an HTTP::cookie command (such as "HTTP::cookie sanitize") with missing required arguments.

Workaround

Ensure all HTTP::cookie commands in iRules have the correct number of arguments. A work around is to add a line "log local0. some text" before the line "HTTP::cookie sanitize". Then, there will be no tmm crash.

Fix Information

Check to make sure all required arguments are present in an HTTP::cookie command prior to attempting to use them.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips