{ "id": "CVE-2021-4041", "sourceIdentifier": "secalert@redhat.com", "published": "2022-08-24T16:15:09.370", "lastModified": "2022-08-29T14:30:13.960", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "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." }, { "lang": "es", "value": "Se ha encontrado un fallo en ansible-runner. Un escape inapropiado del comando shell, mientras es llamado a ansible_runner.interface.run_command, puede conllevar a que los par\u00e1metros sean ejecutados como el comando shell del host. Un desarrollador podr\u00eda escribir involuntariamente c\u00f3digo que es ejecutado en el host en lugar de en el entorno virtual." } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 7.8, "baseSeverity": "HIGH" }, "exploitabilityScore": 1.8, "impactScore": 5.9 } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-116" } ] }, { "source": "secalert@redhat.com", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-20" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:redhat:ansible_runner:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.1.0", "matchCriteriaId": "A0CD1454-F8D9-4398-A693-7EDD8E78CF3D" }, { "vulnerable": true, "criteria": "cpe:2.3:a:redhat:ansible_runner:2.1.0:alpha1:*:*:*:*:*:*", "matchCriteriaId": "AF2F5E46-5EE6-4480-989D-4FAE1339F755" }, { "vulnerable": true, "criteria": "cpe:2.3:a:redhat:ansible_runner:2.1.0:alpha2:*:*:*:*:*:*", "matchCriteriaId": "33D69031-082E-4C58-A4C6-DF4572F2960C" }, { "vulnerable": true, "criteria": "cpe:2.3:a:redhat:ansible_runner:2.1.0:beta1:*:*:*:*:*:*", "matchCriteriaId": "8F62416A-386A-4093-91D0-A91C1BB067B1" } ] } ] } ], "references": [ { "url": "https://access.redhat.com/security/cve/CVE-2021-4041", "source": "secalert@redhat.com", "tags": [ "Vendor Advisory" ] }, { "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2028074", "source": "secalert@redhat.com", "tags": [ "Issue Tracking", "Patch", "Vendor Advisory" ] }, { "url": "https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd", "source": "secalert@redhat.com", "tags": [ "Patch", "Third Party Advisory" ] } ] }