Skip to content

Ansible Remote Code Execution

Critical severity GitHub Reviewed Published May 17, 2022 to the GitHub Advisory Database • Updated Aug 16, 2023

Package

pip ansible (pip)

Affected versions

< 1.5.4

Patched versions

1.5.4

Description

The safe_eval function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions.

References

Published by the National Vulnerability Database Feb 20, 2020
Published to the GitHub Advisory Database May 17, 2022
Reviewed Aug 7, 2023
Last updated Aug 16, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2014-4657

GHSA ID

GHSA-qg47-5px9-32g7

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.