Advisory

GHSA-x23q-4j9j-9cxw

Also known as: CVE-2021-40720, PYSEC-2021-380

Summary

Ops CLI Deserialization of Untrusted Data vulnerability

Details

Ops CLI version 2.0.4 (and earlier) is affected by a Deserialization of Untrusted Data vulnerability to achieve arbitrary code execution when the checkout_repo function is called on a maliciously crafted file. An attacker can leverage this to execute arbitrary code on the victim machine.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-24 19:17 UTC
Modified
2024-10-07 21:35 UTC

Affected packages and fixes

ops-cli

PyPI · All systems

Affected

  • introduced 0, fixed 2.0.5 (ecosystem)

Fixed versions

2.0.5

Fix

  • Fixed version 2.0.5
    pip install --upgrade ops-cli==2.0.5

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