CVE-2020-7042

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-7042
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-7042.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-7042
Downstream
Related
Published
2020-02-27T18:15:11Z
Modified
2025-10-15T12:21:36.988006Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
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).

References

Affected packages

Git / github.com/adrienverge/openfortivpn

Affected ranges

Type
GIT
Repo
https://github.com/adrienverge/openfortivpn
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v1.*

v1.0.0
v1.0.1
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.10.0
v1.11.0
v1.2.0
v1.3.0
v1.3.1
v1.4.0
v1.5.0
v1.6.0
v1.7.0
v1.7.1
v1.8.0
v1.8.1
v1.9.0

Database specific

vanir_signatures

[
    {
        "source": "https://github.com/adrienverge/openfortivpn/commit/9eee997d599a89492281fc7ffdd79d88cd61afc3",
        "id": "CVE-2020-7042-6fb1fe2a",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "283993573798252670453987687364804281647",
                "274844904252654247726432834330319061935",
                "112562871745171916936322649166284259591",
                "17798813236066237521886087447635982369",
                "2418362587896680329337858234838332300",
                "109426978569026790148195875681155806346",
                "164160928021241801951192137959973253490",
                "289510098859083578787605135355407124387",
                "258380727189941271346228600724644525725",
                "25863080627499099625509319637019956460"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "target": {
            "file": "src/tunnel.c"
        }
    },
    {
        "source": "https://github.com/adrienverge/openfortivpn/commit/9eee997d599a89492281fc7ffdd79d88cd61afc3",
        "id": "CVE-2020-7042-975f888f",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "229937577464691850782465159833446126831",
            "length": 2386.0
        },
        "signature_type": "Function",
        "target": {
            "function": "ssl_verify_cert",
            "file": "src/tunnel.c"
        }
    }
]