Red Hat Ansible

CVE-2020-1733
MEDIUM 5.0

En bref

Source
NVD
EPSS
EPSS 0.40 % · centile 35 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
redhat
Statut NVD
Modified

Description

A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a playbook with an unprivileged become user. When Ansible needs to run a module with become user, the temporary directory is created in /var/tmp. This directory is created with "umask 77 && mkdir -p <dir>"; this operation does not fail if the directory already exists and is owned by another user. An attacker could take advantage to gain control of the become user as the target directory can be retrieved by iterating '/proc/<pid>/cmdline'.

Faiblesses (CWE)

  • CWE-377 — Fichier temporaire non sécurisé
  • CWE-362 — Situation de compétition

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.0CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:Lredhat
CVSS 3.1MEDIUM 5.0CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:LNVD · secalert@redhat.com (Secondary)
CVSS 3.1MEDIUM 5.0CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:LNVD · nvd@nist.gov (Primary)
CVSS 2.0LOW 3.7AV:L/AC:H/Au:N/C:P/I:P/A:PNVD · nvd@nist.gov (Primary)

Avis

Références européennes

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Red Hat · Ansibleaffected 2.7.17 and prior ; affected 2.8.9 and prior ; affected 2.9.6 and prior

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD