HIGH7.5
GHSA-jw36-hf63-69r9
`libsqlite3-sys` via C SQLite improperly validates array index
Details
SQLite 1.0.12 through 3.39.x before 3.39.2 sometimes allows an array-bounds overflow if billions of bytes are used in a string argument to a C API.
Are you affected?
Enter the version of the package you're using.
Affected packages
crates.io/libsqlite3-sys
Introduced in:
0Fixed in: 0.25.1Upgrade libsqlite3-sys to 0.25.1 or newer (ecosystem crates.io).
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-35737[ADVISORY]
- https://blog.trailofbits.com/2022/10/25/sqlite-vulnerability-july-2022-library-api[WEB]
- https://github.com/rusqlite/rusqlite[PACKAGE]
- https://kb.cert.org/vuls/id/720344[WEB]
- https://rustsec.org/advisories/RUSTSEC-2022-0090.html[WEB]
- https://security.gentoo.org/glsa/202210-40[WEB]
- https://security.netapp.com/advisory/ntap-20220915-0009[WEB]
- https://sqlite.org/releaselog/3_39_2.html[WEB]
- https://www.sqlite.org/cves.html[WEB]