GHSA-9frf-r7c7-j2vg
HIGHCVE-2021-29939StackVec::extend used the lower and upper bounds from an Iterator's sizehint to determine how many items to push into the stack based vector. If the sizehint implementation returned a lower bound that was larger than the upper bound, StackVec would write out of bounds and overwrite memory on the stack. As mentioned by the sizehint documentation, sizehint is mainly for optimization and incorrect im
- Affected
- < 1.0.9
- Fixed in
- 1.0.9
- Weakness
- CWE-787
- Published
- 2021-08-25
- Source
- github