Advisory

UBUNTU-CVE-2021-4041

Also known as: CVE-2021-4041

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

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2022-08-24 16:15 UTC
Modified
2025-09-08 16:46 UTC

Affected packages and fixes

ansible-runner

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.1.1-1 (ecosystem)

Fixed versions

2.1.1-1

Fix

  • Fixed version 2.1.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences