CVE-2019-19010: Eval Injection in Limnoria Math Plugin

limnoria Updated 02 Oct 2025

Summary

16/11/2019
Yes i
Critical
9.8

CVE-2019-19010: Eval injection in the Math plugin of Limnoria (before 2019.11.09) and Supybot (through 2018-05-09) allows remote unprivileged attackers to disclose information or possibly have unspecified other impact via the calc and i... Affects limnoria across 2 version ranges.

< 2019.11.09 < 3848ae78de45b35c029cc333963d436b9d2f0a35

Fixed in 3848ae78de45b35c029cc333963d436b9d2f0a35. How to fix ↓

Also tracked for

The same CVE-2019-19010 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Limnoria is an open-source Python-based IRC bot framework that provides a wide range of features and plugins. One of its plugins is the Math plugin, which allows users to perform mathematical calculations using IRC commands. However, versions of Limnoria prior to 2019.11.09 and Supybot through 2018-05-09 are vulnerable to eval injection attacks through the 'calc' and 'icalc' IRC commands. This vulnerability can be exploited by remote unprivileged attackers to disclose information or potentially cause other unspecified impacts.

Vulnerability Detail

The vulnerability in the Math plugin of Limnoria and Supybot arises from the lack of proper input validation and sanitization. By injecting malicious code through the 'calc' or 'icalc' commands, an attacker can execute arbitrary Python code in the context of the IRC bot. This can lead to unauthorized disclosure of sensitive information or potentially allow the attacker to perform unauthorized actions on the system. The impact of the vulnerability may vary depending on the specific usage and configuration of the affected IRC bot.

How To Fix

Minimum fixed version

3848ae78de45b35c029cc333963d436b9d2f0a35

This is the first release that contains the fix.

pip install --upgrade "limnoria==3848ae78de45b35c029cc333963d436b9d2f0a35"

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

Workaround

As a temporary workaround, users can disable or remove the Math plugin from their IRC bot configuration until a fixed version is available. This can be achieved by modifying the configuration file or plugin list of the IRC bot. However, this workaround may impact the functionality provided by the Math plugin.

Conclusion

The eval injection vulnerability in the Math plugin of Limnoria and Supybot can have serious consequences, including unauthorized information disclosure and potential unauthorized actions. It is crucial to update to a fixed version of Limnoria or migrate from Supybot to Limnoria. Additionally, implementing proper input validation and sanitization measures in plugins is essential to prevent similar vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for limnoria →

Share this vulnerability

FAQ

Limnoria is an open-source Python-based IRC bot framework that provides various features and plugins for IRC communication and automation.

The Math plugin is a plugin for Limnoria that allows users to perform mathematical calculations using IRC commands.

Eval injection is a type of vulnerability where untrusted input is passed to an eval() function or similar construct, allowing arbitrary code execution.

The vulnerability can lead to unauthorized disclosure of sensitive information or potentially allow attackers to perform unauthorized actions on the system running the IRC bot.

To protect your IRC bot, it is recommended to update to a fixed version of Limnoria or Supybot and ensure proper input validation and sanitization in plugins that accept user input.

Related vulnerabilities

Recent vulnerabilities recorded for limnoria.

How To Fix

Minimum fixed version

3848ae78de45b35c029cc333963d436b9d2f0a35

This is the first release that contains the fix.

pip install --upgrade "limnoria==3848ae78de45b35c029cc333963d436b9d2f0a35"

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