Hub: insecure galaxy-importer tarfile extraction (Red Hat Red Hat Ansible Automation Platform 2.4 for RHEL 8)

CVE-2023-5189
MEDIUM 6.3

At a glance

Source
NVD
EPSS
EPSS 0.98 % · percentile 62 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

Description

A path traversal vulnerability exists in Ansible when extracting tarballs. An attacker could craft a malicious tarball so that when using the galaxy importer of Ansible Automation Hub, a symlink could be dropped on the disk, resulting in files being overwritten.

Weaknesses (CWE)

  • CWE-23 — Relative Path Traversal
  • CWE-22 — Improper Limitation of a Pathname to a Restricted Directory

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.3CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:Nredhat
CVSS 3.1MEDIUM 6.3CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:NNVD · secalert@redhat.com (Secondary)
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NNVD · nvd@nist.gov (Primary)

Advisories

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 8unaffected 0:0.4.18-1.el8ap < *
Red Hat · Red Hat Ansible Automation Platform 2.4 for RHEL 9unaffected 0:0.4.18-1.el9ap < *
Red Hat · Red Hat Satellite 6.14 for RHEL 8unaffected 0:0.4.18-2.el8pc < *
Red Hat · Red Hat Satellite 6.14 for RHEL 8unaffected 0:0.4.18-2.el8pc < *
Red Hat · Red Hat Satellite 6.15 for RHEL 8unaffected 0:0.4.19-2.el8pc < *
Red Hat · Red Hat Satellite 6.15 for RHEL 8unaffected 0:0.4.19-2.el8pc < *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
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