Advisory

PYSEC-2022-253

Also known as: CVE-2021-4041, GHSA-6j58-grhv-2769

Summary

The record has no summary.

Details

A flaw was found in ansible-runner. An improper escaping of the shell command, while calling the ansible_runner.interface.run_command, can lead to parameters getting executed as host's shell command. A developer could unintentionally write code that gets executed in the host rather than the virtual environment.

Severity

Not rated by the source.

Dates

Published
2022-08-24 16:15 UTC
Modified
2023-11-08 04:06 UTC

Affected packages and fixes

ansible-runner

PyPI · All systems

Affected

  • introduced 0, fixed 2.1.0 (ecosystem)

Fixed versions

2.1.0

Fix

  • Fixed version 2.1.0
    pip install --upgrade ansible-runner==2.1.0

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: PyPA Advisory Database · CC BY 4.0

Sources & licences