CVE-2017-1002157: modulemd Remote Code Execution

modulemd Updated 02 Oct 2025

Summary

10/01/2019
Yes i
Critical
9.8

CVE-2017-1002157: modulemd 1.3.1 and earlier uses an unsafe function for processing externally provided data, leading to remote code execution. Affects modulemd versions < 1.3.2. Fixed in 1.3.2. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

modulemd is a Python package available on PyPI that provides functionality for processing module metadata. It is commonly used in software development projects. However, versions 1.3.1 and earlier of modulemd contain a vulnerability that allows for remote code execution. This vulnerability arises from the use of an unsafe function when processing externally provided data.

Vulnerability Detail

The vulnerability in modulemd 1.3.1 and earlier can be exploited by an attacker to execute arbitrary code remotely. By providing specially crafted data, an attacker can trigger the unsafe function and gain unauthorized access to the system. This can lead to various consequences, including unauthorized data access, privilege escalation, and potential compromise of the entire system.

How To Fix

Minimum fixed version

1.3.2

This is the first release that contains the fix.

pip install --upgrade "modulemd==1.3.2"

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

Conclusion

The modulemd package versions 1.3.1 and earlier are vulnerable to remote code execution. Users should upgrade to version 1.3.2 or later to mitigate this risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for modulemd →

Share this vulnerability

FAQ

modulemd is a Python package used for processing module metadata in software development projects.

Versions 1.3.1 and earlier of modulemd are affected by this vulnerability.

This vulnerability allows for remote code execution, potentially leading to unauthorized access, privilege escalation, and compromise of the system.

To fix this vulnerability, upgrade to version 1.3.2 or later of modulemd.

No specific workaround is mentioned for this vulnerability. It is recommended to update to the fixed version.

How To Fix

Minimum fixed version

1.3.2

This is the first release that contains the fix.

pip install --upgrade "modulemd==1.3.2"

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