Improper Certificate Validation in libgda - CVE-2021-39359
Published: September 5, 2022
Vulnerability identifier: #VU66986
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-39359
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: Gnome Development Team
Affected software:
libgda
libgda
Detailed vulnerability description
The vulnerability allows a remote attacker to perform MitM attack.
The vulnerability exists due to missing certificate validation in gda-web-provider.c, which does not enable TLS certificate verification on the SoupSessionSync objects it creates. A remote attacker can perform Man-in-the-Middle (MitM) attack.
How to mitigate CVE-2021-39359
Install updates from vendor's website.
Sources
- https://gitlab.gnome.org/GNOME/libgda/-/issues/249
- https://blogs.gnome.org/mcatanzaro/2021/05/25/reminder-soupsessionsync-and-soupsessionasync-default-to-no-tls-certificate-verification/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HRPPP47WRCAPAEJGRMEKYYJZBQCYXTLQ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WLMVVIJNY5NMOT3FH36RFBWOTPVW7GME/