Files
vuln-nvd/data/2021/CVE-2021-4041.json

2 lines
3.3 KiB
JSON

{"affected":[{"affectedData":[{"product":"ansible-runner","vendor":"n/a","versions":[{"status":"affected","version":"Fixed in ansible-runner 2.1.0"}]}],"source":"secalert@redhat.com"}],"configurations":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:redhat:ansible_runner:*:*:*:*:*:*:*:*","matchCriteriaId":"A0CD1454-F8D9-4398-A693-7EDD8E78CF3D","versionEndExcluding":"2.1.0","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","vulnerable":true}],"negate":false,"operator":"OR"}]}],"cveTags":[],"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ámetros sean ejecutados como el comando shell del host. Un desarrollador podría escribir involuntariamente código que es ejecutado en el host en lugar de en el entorno virtual."}],"id":"CVE-2021-4041","lastModified":"2026-06-17T04:18:56.453","metrics":{"cvssMetricV31":[{"cvssData":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"exploitabilityScore":1.8,"impactScore":5.9,"source":"nvd@nist.gov","type":"Primary"}]},"published":"2022-08-24T16:15:09.370","references":[{"source":"secalert@redhat.com","tags":["Vendor Advisory"],"url":"https://access.redhat.com/security/cve/CVE-2021-4041"},{"source":"secalert@redhat.com","tags":["Issue Tracking","Patch","Vendor Advisory"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2028074"},{"source":"secalert@redhat.com","tags":["Patch","Third Party Advisory"],"url":"https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd"},{"source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"url":"https://access.redhat.com/security/cve/CVE-2021-4041"},{"source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Patch","Vendor Advisory"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2028074"},{"source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"],"url":"https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd"}],"sourceIdentifier":"secalert@redhat.com","vulnStatus":"Modified","weaknesses":[{"description":[{"lang":"en","value":"CWE-20"}],"source":"secalert@redhat.com","type":"Secondary"},{"description":[{"lang":"en","value":"CWE-116"}],"source":"nvd@nist.gov","type":"Primary"}]}