Recommend upgrade to 20180219.1: addresses iOS/MacOS "text bomb"

8 views
Skip to first unread message

Mike Samuel

unread,
Feb 19, 2018, 12:10:03 PM2/19/18
to OWASP Java HTML Sanitizer Announce
The latest release of OWASP Java HTML sanitizer addresses a denial
of service attack whereby crafted text sequences can crash an iPhone or
Mac browser.

popular press article [1] says
> software engineers at Aloha Browser discovered two Unicode symbols
> in a non-English language that can crash any Apple device that uses
> Apple’s default San Francisco font.

Manish Goregaokar [2] (may contain payload) says
> So, ultimately, the full set of cases that cause the crash are:
>   Any sequence <consonant1, virama, consonant2, ZWNJ, vowel>
> in Devanagari, Bengali, and Telugu, where: ...

The latest release [3] removes ZWNJ [4] before Bengali, Devanagari,
and Telugu vowels and vowel signs to address this problem.  This should
not adversely affect legitimate uses of those languages.
> a ZWNJ before a vowel doesn’t really do anything for most Indic scripts.

[1]: https://techcrunch.com/2018/02/15/iphone-text-bomb-ios-mac-crash-apple/
[2]: https://manishearth.github.io/blog/2018/02/15/picking-apart-the-crashing-ios-string/
[3]: https://github.com/OWASP/java-html-sanitizer/commit/a7760d0ca4de99cd27f6a501c5bb31fa4ce4a0c5
[4]: https://en.wikipedia.org/wiki/Zero-width_non-joiner

Mike Samuel

unread,
Feb 19, 2018, 12:13:27 PM2/19/18
to OWASP Java HTML Sanitizer Announce
Reply all
Reply to author
Forward
0 new messages