imgref is vulnerable to Reliance on Undefined, Unspecified, or Implementation-Defined Behavior
42
Medium Risk
Two unsoundness bugs were fixed, both capable of causing Undefined Behavior: (1) ImgRef's buffer-size calculation now uses checked arithmetic, preventing integer overflow that could validate undersized buffers and cause out-of-bounds slice/iterator UB; (2) PixelsRefIter's Send impl was corrected to require T: Sync (since it yields &T), preventing a data race that constitutes UB when the iterator is sent across threads.
You are affected if you are using a version that falls within the vulnerable range.
imgref is vulnerable to Reliance on Undefined, Unspecified, or Implementation-Defined Behavior in versions 0.0.1 - 1.12.1.
Upgrade the imgref library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant