Timing Attack Vulnerability in Mojolicious Module (CVE-2020-36829)

libmojolicious-perl Updated 02 Oct 2025

Summary

08/04/2024
N/A
Yes i
Unrated
Not published

CVE-2020-36829: The Mojolicious module before 8.65 for Perl is vulnerable to secure_compare timing attacks that allow an attacker to guess the length of a secret string. Affects libmojolicious-perl across 2 version ranges.

< 8.65+dfsg-1 < 1308d0a66a7aadeafeaec0a87627de8ad1e367e7

Fixed in 8.65+dfsg-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Mojolicious module is a popular web framework for Perl, designed to simplify the development of web applications. It provides features such as routing, templating, and real-time communication. However, prior to version 8.65, it was found to be vulnerable to timing attacks, which could allow attackers to infer the length of secret strings used within the application, potentially compromising sensitive data.

Vulnerability Detail

CVE-2020-36829 is a vulnerability in the Mojolicious module for Perl that allows attackers to exploit timing discrepancies in secure comparisons. This vulnerability arises from the way the module handles secret strings, making it possible for an attacker to guess the length of these strings through careful timing analysis. If exploited, this could lead to unauthorized access to sensitive information, thereby posing a significant security risk to applications relying on this module.

How To Fix

Minimum fixed version

8.65+dfsg-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libmojolicious-perl

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate updating is not feasible, consider implementing additional security measures such as rate limiting on sensitive endpoints or using alternative libraries that do not exhibit this vulnerability until an update can be applied.

Conclusion

The CVE-2020-36829 vulnerability in the Mojolicious Perl module poses a significant risk due to its potential for timing attacks. It is crucial for developers using this module to update to version 8.65 or later to safeguard their applications against unauthorized access and data breaches.

See every vulnerability recorded for libmojolicious-perl →

Share this vulnerability

FAQ

CVE-2020-36829 is a vulnerability in the Mojolicious Perl module that allows attackers to exploit timing attacks to guess the length of secret strings.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which analyzes your manifest file for vulnerabilities.

Exploitation of this vulnerability could lead to unauthorized access to sensitive information, compromising the security of the application.

Yes, implementing rate limiting and additional security measures can help mitigate the risk until an update is applied.

Versions of the Mojolicious module prior to 8.65 are affected by this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for libmojolicious-perl.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

8.65+dfsg-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libmojolicious-perl

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.