CVE-2017-1002157: modulemd Unsafe Function Remote Code Execution

modulemd Updated 02 Oct 2025

Summary

17/01/2019
Yes i
Critical
9.8

CVE-2017-1002157: modulemd uses an unsafe function for processing externally provided data. 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

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

Vulnerability Detail

The vulnerability in modulemd 1.3.1 and earlier versions stems from the use of an unsafe function for handling externally provided data. This flaw can be exploited by an attacker to execute arbitrary code remotely. The impact of this vulnerability is severe, as it grants an attacker the ability to execute arbitrary commands on the affected system. This can lead to unauthorized access, data theft, or even complete compromise of the system. The vulnerability has been assigned a CVSS score of 9.8, indicating its critical severity.

How To Fix

Latest published version: 1.3.3 as of 23 Oct 2026

pip install --upgrade "modulemd==1.3.3"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

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 →

Workaround

There is no known workaround for this vulnerability. It is essential to update to the fixed version of the modulemd package to address the issue.

Conclusion

The modulemd package versions 1.3.1 and earlier are vulnerable to remote code execution due to the use of an unsafe function for processing externally provided data. It is crucial to update to version 1.3.2 or later to mitigate this vulnerability. For further assistance or support in 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 various projects.

The vulnerability allows remote code execution, enabling an attacker to execute arbitrary commands on the affected system.

The CVSS score of this vulnerability is 9.8, indicating its critical severity.

No, there is no known workaround for this vulnerability. Updating to the fixed version is necessary.

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

How To Fix

Latest published version: 1.3.3 as of 23 Oct 2026

pip install --upgrade "modulemd==1.3.3"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

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