Security Advisories (1)
CVE-2024-58041 (2026-02-24)

Smolder versions through 1.51 for Perl uses insecure rand() function for cryptographic functions. Smolder 1.51 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. Specifically Smolder::DB::Developer uses the Data::Random library which specifically states that it is "Useful mostly for test programs". Data::Random uses the rand() function.

NAME

Smolder::DB::Preference

DESCRIPTION

Class::DBI based model class for the 'preference' table in the database.

METHODS

ACCESSSOR/MUTATORS

Each column in the borough table has a method with the same name that can be used as an accessor and mutator.

OBJECT METHODS

project

If this Preference is associated with a project, then this will return that Smolder::DB::Project object, else it will return undef.

CLASS METHODS

email_types

Returns an arrayref of all acceptable values for the email_type field.

email_freqs

Returns an arrayref of all acceptable values for the email_freq field.