IPsec-Tools is a port of KAME's implementation of the IPsec utilities. It contains a collection of network monitoring tools, including racoon, ping, and ping6.
The KAME IKE daemon racoon is used to authenticate peers during Phase 1 when using either preshared keys, GSS-API, or RSA signatures. When using RSA signatures racoon validates the X.509 certificate but not the RSA signature.
By sending a valid and trusted X.509 certificate and any private key an attacker could exploit this vulnerability to perform man-in-the-middle attacks and initiate unauthorized connections.
There is no known workaround at this time. All users are encouraged to upgrade to the latest available version.
All IPsec-Tools users should upgrade to the latest stable version:
# emerge sync
# emerge -pv ">=net-firewall/ipsec-tools-0.3.3"
# emerge ">=net-firewall/ipsec-tools-0.3.3"