Security Advisories (1)
CVE-2024-57868 (2025-04-05)

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.

Changes for version 2.1

  • Change: 1f0c4c1bb176eac753430e9239c5a83b64a10d39 Author: Tobias Kirschstein <lev@ideegeo.com> Date : 2014-11-27 15:32:56 +0000
    • because some people can't implement APIs properly (hint SAASU) and return 'text/html' instead of 'text/xml', let's just pretend they are the same...

Modules

Web::API - A Simple base module to implement almost every RESTful API with just a few lines of configuration