angler-fishThe Vulnerability History Project

CVE-2015-8218
aka Overlooked Array

A forgotten bounds check in a decoding helper function allowed remote attackers to execute a denial of service (DoS) via an out of bounds array access. There was also the potential for unspecified further impact by specifically crafted files.

This was purely a missed check, as the identical check exists elsewhere in multiple other locations in the function.



This vulnerability was discovered as a result of refactor. The vulnerable function did not exist at all prior to the VCC, but the vulnerable code did, inside of another two functions. The refactor pulled that function out and made it its own function, but copied the missing error case. This error case was introduced in a previous commmit where the functionality of the function was expanded, and then copied into a second function It is very likely that this was simply missed in code review not once, not twice, but three separate times. More rigorous or specific rules regarding refactoring commits may have caused this vulnerability to be found sooner, and potentially found it before the refactoring commit occured.

  • There are no articles here... yet

Timeline

Hover over an event to see its title.
Click on the event to learn more.
Filter by event type with the buttons below.

expand_less