Description
The counterToCSSValue function in CSSComputedStyleDeclaration.cpp in the Cascading Style Sheets (CSS) implementation in WebCore in WebKit before r82222, as used in Google Chrome before 11.0.696.43 and other products, does not properly handle access to the (1) counterIncrement and (2) counterReset attributes of CSSStyleDeclaration data provided by a getComputedStyle method call, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via crafted JavaScript code.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | qtwebkit-source | No fix yet | — |
References
- https://bugs.webkit.org/show_bug.cgi?id=57266
- http://code.google.com/p/chromium/issues/detail?id=77665
- http://trac.webkit.org/changeset/82222
- oval:org.mitre.oval:def:14365 vdb-entry signature
- http://googlechromereleases.blogspot.com/2011/04/beta-channel-update_12.html
- google-countertocssvalue-dos(66818) vdb-entry