Integer Overflow or Wraparound Affecting qt/qtdeclarative package, versions [,6.4.1)
Threat Intelligence
EPSS
0.34% (72nd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-UNMANAGED-QTQTDECLARATIVE-3261239
- published 1 Feb 2023
- disclosed 1 Feb 2023
- credit Emma Reuter, Theo Morales (Cisco ASIG)
Introduced: 1 Feb 2023
CVE-2022-40983 Open this link in a new tabHow to fix?
Upgrade qt/qtdeclarative
to version 6.4.1 or higher.
Overview
Affected versions of this package are vulnerable to Integer Overflow or Wraparound when a negative or very large value is passed to the Reflect.apply()
function as QML input. This could result in a crash or memory corruption, if user input is processed unchecked.
PoC
const v1 = []; const v3 = []; v3.length = 3900000000; Reflect.apply(v1.reverse,v1,v3);
CVSS Scores
version 3.1