{"id":"CVE-2020-7042","details":"An issue was discovered in openfortivpn 1.11.0 when used with OpenSSL 1.0.2 or later. tunnel.c mishandles certificate validation because the hostname check operates on uninitialized memory. The outcome is that a valid certificate is never accepted (only a malformed certificate may be accepted).","modified":"2026-07-09T00:12:10.803840Z","published":"2020-02-27T18:15:11.547Z","related":["openSUSE-SU-2020:0301-1","openSUSE-SU-2020:0305-1","openSUSE-SU-2024:11118-1"],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"30"},{"last_affected":"30"},{"introduced":"31"},{"last_affected":"31"},{"introduced":"32"},{"last_affected":"32"}],"source":"CPE_STRING","vendor_product":"fedoraproject:fedora"},{"cpes":["cpe:2.3:a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:*"],"extracted_events":[{"introduced":"15.0-sp1"},{"last_affected":"15.0-sp1"}],"source":"CPE_STRING","vendor_product":"opensuse:backports_sle"},{"cpes":["cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"15.1"},{"last_affected":"15.1"}],"source":"CPE_STRING","vendor_product":"opensuse:leap"}]},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CKNKSGBVYGRRVRLFEFBEKUEJYJR5LWOF/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FF6HYIBREQGATRM5COF57MRQWKOKCWZ3/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SRVVNXCNTNMPCIAZIVR4FAGYCSU53FNA/"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00009.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00011.html"},{"type":"REPORT","url":"https://github.com/adrienverge/openfortivpn/issues/536"},{"type":"FIX","url":"https://github.com/adrienverge/openfortivpn/commit/9eee997d599a89492281fc7ffdd79d88cd61afc3"},{"type":"FIX","url":"https://github.com/adrienverge/openfortivpn/commit/cd9368c6a1b4ef91d77bb3fdbe2e5bc34aa6f4c4"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/adrienverge/openfortivpn","events":[{"introduced":"0"},{"fixed":"cd9368c6a1b4ef91d77bb3fdbe2e5bc34aa6f4c4"},{"fixed":"9eee997d599a89492281fc7ffdd79d88cd61afc3"}],"database_specific":{"cpe":"cpe:2.3:a:openfortivpn_project:openfortivpn:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.12.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v1.11.0","v1.10.0","v1.9.0","v1.8.1","v1.8.0","v1.7.1","v1.7.0","v1.6.0","v1.5.0","v1.4.0","v1.3.1","v1.3.0","v1.2.0","v1.1.4","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7042.json","vanir_signatures_modified":"2026-07-09T00:12:10Z","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/adrienverge/openfortivpn/commit/9eee997d599a89492281fc7ffdd79d88cd61afc3","target":{"file":"src/tunnel.c"},"deprecated":false,"digest":{"line_hashes":["283993573798252670453987687364804281647","274844904252654247726432834330319061935","112562871745171916936322649166284259591","17798813236066237521886087447635982369","2418362587896680329337858234838332300","109426978569026790148195875681155806346","164160928021241801951192137959973253490","289510098859083578787605135355407124387","258380727189941271346228600724644525725","25863080627499099625509319637019956460"],"threshold":0.9},"id":"CVE-2020-7042-6fb1fe2a"},{"digest":{"function_hash":"229937577464691850782465159833446126831","length":2386},"id":"CVE-2020-7042-975f888f","signature_type":"Function","signature_version":"v1","source":"https://github.com/adrienverge/openfortivpn/commit/9eee997d599a89492281fc7ffdd79d88cd61afc3","target":{"file":"src/tunnel.c","function":"ssl_verify_cert"},"deprecated":false}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}