CVE-2024-57835 Amon2::Auth::Site::LINE versions through 0.04 for Perl uses insecure rand() function for cryptographic functions

Medium 5.5 Published Updated

Attackers can predict nonce values due to insecure random number generation, potentially bypassing LINE authentication in Perl applications.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-57835?

CVE-2024-57835 is a medium-severity vulnerability in TANIGUCHI Amon2::Auth::Site::LINE, published on 5 Apr 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Amon2::Auth::Site::LINE uses the String::Random module to generate nonce values. 

String::Random defaults to Perl's built-in predictable random number generator, the rand() function, which is not cryptographically secure

Weakness: CWE-338

Which versions are affected by CVE-2024-57835?

It affects 1 product.

Products include Nipotan Line Integration for Amon2.

How do I fix CVE-2024-57835?

No fix has been published for CVE-2024-57835 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-57835 being exploited?

There is no known exploitation of CVE-2024-57835 in the wild and no public exploit code.

Sources

Also known as GHSA-ch4m-2996-7xpv.

Is CVE-2024-57835 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free