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 1.7

  • Change: 3cc13e96bae961164439848e0f104f6f3aa1a27b Author: Tobias Kirschstein <lev@ideegeo.com> Date : 2014-03-06 18:48:04 +0000
    • use extension to set incoming content-type for convenience and decode response based on content-type header with fallback to configured incoming content-type

Modules

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