Web::API 2.8 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.
Specifically Web::API uses the Data::Random library which specifically states that it is Useful mostly for test programs. Data::Random uses the rand() function.
The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Web::api | Lev | * | 2.8 (including) |
| Libweb-api-perl | Ubuntu | focal | * |
| Libweb-api-perl | Ubuntu | oracular | * |