GHSA-43w2-9j62-hq99
CRITICALCVE-2021-25900A bug in the SmallVec::insertmany method caused it to allocate a buffer that was smaller than needed. It then wrote past the end of the buffer, causing a buffer overflow and memory corruption on the heap. This bug was only triggered if the iterator passed to insertmany yielded more items than the lower bound returned from its sizehint method.
- Affected
- >= 1.0.0, < 1.6.1, >= 0.6.3, < 0.6.14
- Fixed in
- 1.6.1
- Weakness
- CWE-787
- Published
- 2022-05-24
- Source
- github