CVE-2020-7041

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-7041
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-7041.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-7041
Downstream
Related
Published
2020-02-27T18:15:11Z
Modified
2025-10-15T12:21:35.587307Z
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 an X509checkhost negative error code is interpreted as a successful return value.

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

[
    {
        "deprecated": false,
        "target": {
            "file": "src/tunnel.c"
        },
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "291243649204369111040426769665335560463",
                "47288886222928506793920805114664200831",
                "153992118258425434423935772526541605732",
                "37829039087882916392867691797325534195"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/adrienverge/openfortivpn/commit/60660e00b80bad0fadcf39aee86f6f8756c94f91",
        "id": "CVE-2020-7041-6498aa4a",
        "signature_version": "v1"
    },
    {
        "deprecated": false,
        "target": {
            "file": "src/tunnel.c",
            "function": "ssl_verify_cert"
        },
        "signature_type": "Function",
        "digest": {
            "length": 2381.0,
            "function_hash": "162382222799021665376847828159443033783"
        },
        "source": "https://github.com/adrienverge/openfortivpn/commit/60660e00b80bad0fadcf39aee86f6f8756c94f91",
        "id": "CVE-2020-7041-97438fbb",
        "signature_version": "v1"
    }
]