In GNOME glib-networking through 2.64.2, the implementation of GTlsClientConnection skips hostname verification of the server's TLS certificate if the application fails to specify the expected server identity. This is in contrast to its intended documented behavior, to fail the certificate verification. Applications that fail to provide the server identity, including Balsa before 2.5.11 and 2.6.x before 2.6.1, accept a TLS certificate if the certificate is valid for any host.

References[email protected]/message/HLEX2IP62SU6WJ4SK3U766XGLQK3J62O/[email protected]/message/LRCUM22YEWWKNMN2BP5LTVDM5P4VWIXS/[email protected]/message/TQEQJQ4XFMFCFJTEXKL2ZO3UELBPCKSK/


Source: MITRE

Published: 2020-05-28

Updated: 2020-11-20

Type: CWE-295

Risk Information

CVSS v2.0

Base Score: 6.4

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:N

Impact Score: 4.9

Exploitability Score: 10

Severity: MEDIUM

CVSS v3.0

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Impact Score: 2.5

Exploitability Score: 3.9

Severity: MEDIUM