Advisory

GHSA-h72c-w3q3-55qq

Also known as: CVE-2020-13388, PYSEC-2020-341

Summary

OS Command Injection in jw.util

Details

An exploitable vulnerability exists in the configuration-loading functionality of the jw.util package before 2.3 for Python. When loading a configuration with FromString or FromStream with YAML, one can execute arbitrary Python code, resulting in OS command execution, because safe_load is not used.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-06-02 21:45 UTC
Modified
2024-02-16 08:18 UTC

Affected packages and fixes

jw-util

PyPI · All systems

Affected

  • introduced 0, fixed 2.3 (ecosystem)

Fixed versions

2.3

Fix

  • Fixed version 2.3
    pip install --upgrade jw-util==2.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences