Bug 596501 (CVE-2010-1774)
| Summary: | CVE-2010-1774 WebKit: out-of-bounds memory access vulnerability in handling of HTML tables | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Vincent Danen <vdanen> |
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | unspecified | CC: | bressers, jgrulich, jlieskov, jreznik, security-response-team, stransky, than |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-08-05 08:18:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 806808 | ||
|
Description
Vincent Danen
2010-05-26 20:19:06 UTC
This is likely a crash only, but it seems it doesn't affect RHEL5 or RHEL6.
This snipped appears to save the day:
if( cCol + i >= nEffCols ) {
table->appendColumn( span - usedSpan );
nEffCols++;
width.resize( nEffCols );
width[nEffCols-1] = Length();
}
As the value of i increases, so does the size of width. This should mean that the worst outcome of this flaw would be an OOB read, not an OOB write. An OOB read is a DoS only and not security for end user applications.
It someone sees a flaw in my analysis, please speak up.
The same code above exists in KDE4's KHTML as well (khtml/rendering/table_layout.cpp) so would not affect KDE3 or KDE4. Public via: [1] http://support.apple.com/kb/HT4196 |