Improper Validation of Certificate with Host Mismatch Affecting libopensaml2-java package, versions <2.6.2-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.84% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN8-LIBOPENSAML2JAVA-265845
  • published27 Jun 2018
  • disclosed4 Apr 2019

Introduced: 27 Jun 2018

CVE-2014-3603  (opens in a new tab)
CWE-297  (opens in a new tab)

How to fix?

Upgrade Debian:8 libopensaml2-java to version 2.6.2-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libopensaml2-java package and not the libopensaml2-java package as distributed by Debian. See How to fix? for Debian:8 relevant fixed versions and status.

The (1) HttpResource and (2) FileBackedHttpResource implementations in Shibboleth Identity Provider (IdP) before 2.4.1 and OpenSAML Java 2.6.2 do 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.