RHSA-2022_0108
Vulnerability from csaf_redhat - Published: 2022-01-11 20:57 - Updated: 2024-11-22 18:04Summary
Red Hat Security Advisory: ansible-runner security and bug fix update
Notes
Topic
An update is now available for ansible-runner for Red Hat Ansible Automation Platform 2.0
Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
Red Hat Ansible Automation Platform provides an enterprise framework for building, deploying and managing IT automation at scale. IT Managers can provide top-down guidelines on how automation is applied to individual teams, while automation developers retain the freedom to write tasks that leverage existing knowledge without the overhead. Ansible Automation Platform makes it possible for users across an organization to share, vet, and manage automation content by means of a simple, powerful, and agentless language.
Security Fix(es):
* ansible-runner: Ansible: Improper shell escaping (CVE-2021-4041)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
This update fixes various bugs and adds enhancements.
Terms of Use
This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update is now available for ansible-runner for Red Hat Ansible Automation Platform 2.0\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"title": "Topic"
},
{
"category": "general",
"text": "Red Hat Ansible Automation Platform provides an enterprise framework for building, deploying and managing IT automation at scale. IT Managers can provide top-down guidelines on how automation is applied to individual teams, while automation developers retain the freedom to write tasks that leverage existing knowledge without the overhead. Ansible Automation Platform makes it possible for users across an organization to share, vet, and manage automation content by means of a simple, powerful, and agentless language.\n\nSecurity Fix(es):\n\n* ansible-runner: Ansible: Improper shell escaping (CVE-2021-4041)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nThis update fixes various bugs and adds enhancements.",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2022:0108",
"url": "https://access.redhat.com/errata/RHSA-2022:0108"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "2028074",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2028074"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_0108.json"
}
],
"title": "Red Hat Security Advisory: ansible-runner security and bug fix update",
"tracking": {
"current_release_date": "2024-11-22T18:04:47+00:00",
"generator": {
"date": "2024-11-22T18:04:47+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.2.1"
}
},
"id": "RHSA-2022:0108",
"initial_release_date": "2022-01-11T20:57:59+00:00",
"revision_history": [
{
"date": "2022-01-11T20:57:59+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2022-01-11T20:57:59+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2024-11-22T18:04:47+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Ansible Automation Platform 2.0 for RHEL 8",
"product": {
"name": "Red Hat Ansible Automation Platform 2.0 for RHEL 8",
"product_id": "8Base-Ansible-Automation-Platform-2.0",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:ansible_automation_platform:2.0::el8"
}
}
}
],
"category": "product_family",
"name": "Red Hat Ansible Automation Platform"
},
{
"branches": [
{
"category": "product_version",
"name": "ansible-runner-0:2.0.3-2.el8ap.src",
"product": {
"name": "ansible-runner-0:2.0.3-2.el8ap.src",
"product_id": "ansible-runner-0:2.0.3-2.el8ap.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/ansible-runner@2.0.3-2.el8ap?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "ansible-runner-0:2.0.3-2.el8ap.noarch",
"product": {
"name": "ansible-runner-0:2.0.3-2.el8ap.noarch",
"product_id": "ansible-runner-0:2.0.3-2.el8ap.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/ansible-runner@2.0.3-2.el8ap?arch=noarch"
}
}
},
{
"category": "product_version",
"name": "python38-ansible-runner-0:2.0.3-2.el8ap.noarch",
"product": {
"name": "python38-ansible-runner-0:2.0.3-2.el8ap.noarch",
"product_id": "python38-ansible-runner-0:2.0.3-2.el8ap.noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/python38-ansible-runner@2.0.3-2.el8ap?arch=noarch"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "ansible-runner-0:2.0.3-2.el8ap.noarch as a component of Red Hat Ansible Automation Platform 2.0 for RHEL 8",
"product_id": "8Base-Ansible-Automation-Platform-2.0:ansible-runner-0:2.0.3-2.el8ap.noarch"
},
"product_reference": "ansible-runner-0:2.0.3-2.el8ap.noarch",
"relates_to_product_reference": "8Base-Ansible-Automation-Platform-2.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "ansible-runner-0:2.0.3-2.el8ap.src as a component of Red Hat Ansible Automation Platform 2.0 for RHEL 8",
"product_id": "8Base-Ansible-Automation-Platform-2.0:ansible-runner-0:2.0.3-2.el8ap.src"
},
"product_reference": "ansible-runner-0:2.0.3-2.el8ap.src",
"relates_to_product_reference": "8Base-Ansible-Automation-Platform-2.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "python38-ansible-runner-0:2.0.3-2.el8ap.noarch as a component of Red Hat Ansible Automation Platform 2.0 for RHEL 8",
"product_id": "8Base-Ansible-Automation-Platform-2.0:python38-ansible-runner-0:2.0.3-2.el8ap.noarch"
},
"product_reference": "python38-ansible-runner-0:2.0.3-2.el8ap.noarch",
"relates_to_product_reference": "8Base-Ansible-Automation-Platform-2.0"
}
]
},
"vulnerabilities": [
{
"acknowledgments": [
{
"names": [
"Rick Elrod"
],
"organization": "Red Hat",
"summary": "This issue was discovered by Red Hat."
}
],
"cve": "CVE-2021-4041",
"cwe": {
"id": "CWE-20",
"name": "Improper Input Validation"
},
"discovery_date": "2021-12-01T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2028074"
}
],
"notes": [
{
"category": "description",
"text": "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\u0027s shell command. A developer could unintentionally write code that gets executed in the host rather than the virtual environment.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "Ansible: Improper shell escaping in ansible-runner",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "Satellite 6.12 and later versions are not affected by this flaw.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"8Base-Ansible-Automation-Platform-2.0:ansible-runner-0:2.0.3-2.el8ap.noarch",
"8Base-Ansible-Automation-Platform-2.0:ansible-runner-0:2.0.3-2.el8ap.src",
"8Base-Ansible-Automation-Platform-2.0:python38-ansible-runner-0:2.0.3-2.el8ap.noarch"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2021-4041"
},
{
"category": "external",
"summary": "RHBZ#2028074",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2028074"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2021-4041",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-4041"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-4041",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4041"
},
{
"category": "external",
"summary": "https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd",
"url": "https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd"
}
],
"release_date": "2021-12-01T12:20:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2022-01-11T20:57:59+00:00",
"details": "Before applying this update, make sure all previously released errata\nrelevant to your system have been applied.\n\nFor details on how to apply this update, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"8Base-Ansible-Automation-Platform-2.0:ansible-runner-0:2.0.3-2.el8ap.noarch",
"8Base-Ansible-Automation-Platform-2.0:ansible-runner-0:2.0.3-2.el8ap.src",
"8Base-Ansible-Automation-Platform-2.0:python38-ansible-runner-0:2.0.3-2.el8ap.noarch"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2022:0108"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.3,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"products": [
"8Base-Ansible-Automation-Platform-2.0:ansible-runner-0:2.0.3-2.el8ap.noarch",
"8Base-Ansible-Automation-Platform-2.0:ansible-runner-0:2.0.3-2.el8ap.src",
"8Base-Ansible-Automation-Platform-2.0:python38-ansible-runner-0:2.0.3-2.el8ap.noarch"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "Ansible: Improper shell escaping in ansible-runner"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…