Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. donfig
  4. ›
  5. CVE-2019-7537

CVE-2019-7537: Donfig Command Injection in collect_yaml method

May 14, 2022 (updated September 20, 2024)

An issue was discovered in Donfig 0.3.0. There is a vulnerability in the collect_yaml method in config_obj.py. It can execute arbitrary Python commands, resulting in command execution.

References

  • github.com/advisories/GHSA-3qr5-h7w4-3gx3
  • github.com/pypa/advisory-database/tree/main/vulns/donfig/PYSEC-2019-21.yaml
  • github.com/pytroll/donfig
  • github.com/pytroll/donfig/commit/1f9dbf83b17419a06d63c14ef3fbd29dbc1b8ce5
  • github.com/pytroll/donfig/commits/master
  • github.com/pytroll/donfig/issues/5
  • nvd.nist.gov/vuln/detail/CVE-2019-7537

Code Behaviors & Features

Detect and mitigate CVE-2019-7537 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.4.0

Fixed versions

  • 0.4.0

Solution

Upgrade to version 0.4.0 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

pypi/donfig/CVE-2019-7537.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:28 +0000.