CVE-2017-1002157: modulemd Unsafe Function Remote Code Execution
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.