Bug ID 706797: Portal Access: some multibyte characters in JavaScript code may not be handled correctly

Last Modified: Jul 12, 2023

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

Known Affected Versions:
13.1.0, 13.1.0.1, 13.1.0.2, 13.1.0.3, 13.1.0.4, 13.1.0.5, 13.1.0.6, 13.1.0.7, 13.1.0.8, 13.1.1, 13.1.1.2, 13.1.1.3, 13.1.1.4, 13.1.1.5, 13.1.3, 13.1.3.1, 13.1.3.2, 13.1.3.3, 13.1.3.4, 13.1.3.5, 13.1.3.6, 13.1.4, 13.1.4.1, 13.1.5, 13.1.5.1, 14.0.0, 14.0.0.1, 14.0.0.2, 14.0.0.3, 14.0.0.4, 14.0.0.5, 14.0.1, 14.0.1.1

Fixed In:
14.1.0

Opened: Feb 15, 2018

Severity: 3-Major

Symptoms

If JavaScript code contains multi-byte character which contains 0x0A in the last byte after conversion to UTF-32 form, then this character is handled as NEW LINE by Portal Access server-side JavaScript parser. If NEW LINE is not valid in this place, JavaScript code cannot be parsed.

Impact

Web application may not work correctly.

Conditions

JavaScript code with multi-byte character which contains 0x0A in the last byte after conversion to UTF-32 form, for example: //? aa bb (?) gives (4E 0A) in UTF32 form. So this line is processed as the following TWO lines: // aa bb The second line is not a valid JavaScript code.

Workaround

There is no workaround at this time.

Fix Information

Now Portal Access JavaScript parser handles multi-byte characters correctly.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips