Portage: Man-in-the-middle attack — GLSA 201507-16

A vulnerability in Portage's urlopen function could allow a remote attacker to conduct a man-in-the-middle attack.

Affected Packages

sys-apps/portage on all architectures
Affected versions < 2.1.12.2
Unaffected versions >= 2.1.12.2

Background

Portage is the package management and distribution system for Gentoo.

Description

Portage does not verify X.509 SSL certificates properly if HTTPS is used.

Impact

A remote attacker can spoof servers and modify binary package lists via specially crafted certificates.

Workaround

There is no known workaround at this time.

Resolution

All Portage users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=sys-apps/portage-2.1.12.2"
 

References

Release Date
July 10, 2015

Latest Revision
July 10, 2015: 2

Severity
normal

Exploitable
remote

Bugzilla entries