Know every vulnerabilitybefore it knows you.
DevGuard continuously monitors your dependencies and alerts you when CVEs like this one affect your stack — with real-time threat intelligence built for developers.
GHSA-v935-pqmr-g8v9
No affected components available
Impact
Two scenarios were reported where BigInt and BigUint multiplication may unexpectedly panic.
- The internal
mac3function did not expect the possibility of non-empty all-zero inputs, leading to anunwrap()panic. - A buffer was allocated with less capacity than needed for an intermediate result, leading to an assertion panic.
Rust panics can either cause stack unwinding or program abort, depending on the application configuration. In some settings, an unexpected panic may constitute a denial-of-service vulnerability.
Patches
Both problems were introduced in version 0.4.1, and are fixed in version 0.4.3.
For more information
If you have any questions or comments about this advisory, please open an issue in the num-bigint repo.
Acknowledgements
Thanks to Guido Vranken and Arvid Norberg for privately reporting these issues to the author.
References
Measures severity based on intrinsic characteristics of the vulnerability, independent of environment.
No exploitation activity has been observed at this time. Continue routine monitoring.
Probability that this vulnerability will be exploited in the wild within the next 30 days.
We did not find any exploit available. Neither in GitHub repositories nor in the Exploit-Database.
Continuously monitor your dependencies and get alerted when vulnerabilities like this one affect your stack.
Checkout DevGuard