vendor:
SwiftShader
by:
Chromium
8.8
CVSS
HIGH
Integer Overflow
190
CWE
Product Name: SwiftShader
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: WebGL
2020
SwiftShader Memory Corruption Issue
There is a remotely triggerable memory corruption issue in SwiftShader that is reachable from WebGL, resulting from an integer overflow issue. In the GPU process, there is validation on the sizes passed to texture creation functions to ensure that they shouldn't cause overflow. However, in the Swiftshader code there is a separate rounding up of render-target sizes to the next even size, which allows bypassing this validation.
Mitigation:
Validate the sizes passed to texture creation functions to ensure that they shouldn't cause overflow.