{"id":"GHSA-jw36-hf63-69r9","summary":"`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.","aliases":["BIT-sqlite-2022-35737","CVE-2022-35737","RUSTSEC-2022-0090"],"modified":"2024-03-27T18:33:45Z","published":"2022-08-04T00:00:26Z","database_specific":{"cwe_ids":["CWE-129"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2023-02-15T15:38:06Z","nvd_published_at":"2022-08-03T06:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35737"},{"type":"WEB","url":"https://blog.trailofbits.com/2022/10/25/sqlite-vulnerability-july-2022-library-api"},{"type":"PACKAGE","url":"https://github.com/rusqlite/rusqlite"},{"type":"WEB","url":"https://kb.cert.org/vuls/id/720344"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2022-0090.html"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202210-40"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220915-0009"},{"type":"WEB","url":"https://sqlite.org/releaselog/3_39_2.html"},{"type":"WEB","url":"https://www.sqlite.org/cves.html"}],"affected":[{"package":{"name":"libsqlite3-sys","ecosystem":"crates.io","purl":"pkg:cargo/libsqlite3-sys"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.25.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-jw36-hf63-69r9/GHSA-jw36-hf63-69r9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}