ADVISORIES

GitHub Advisory Database

GHSA-w64c-pxjj-h866

Ansible does not verify that the server hostname matches a domain name in certificates

Details

Ansible before 1.9.2 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.

Affected packages

EcosystemPackageAffected versions
PyPIansible
All versions before 1.9.2 (fixed in 1.9.2)

References