asg017/sqlite-vec · Security
Heap-based Buffer Overflow in sqlite-vec
- GHSA ID
- GHSA-vrcx-gx3g-j3h8
- CVE ID
- CVE-2024-46488
- Severity
- high
- Published
- Updated
- CVSS
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- CVSS v3
- 9.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- CVSS v4
- 8.8 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
Description
sqlite-vec v0.1.1 was discovered to contain a heap buffer overflow via the npy_token_next function. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted file.
CWEs
- CWE-122 · Heap-based Buffer Overflow
- CWE-787 · Out-of-bounds Write
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-46488 ↗
- https://github.com/VulnSphere/LLMVulnSphere/blob/main/VectorDB/sqlite-vec/OOBR_2.md ↗
- https://github.com/advisories/GHSA-vrcx-gx3g-j3h8 ↗
- https://github.com/asg017/sqlite-vec/releases/tag/v0.1.3 ↗
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sqlite-vec/CVE-2024-46488.yml ↗