CVE-2020-7041

Source
https://cve.org/CVERecord?id=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:11.483Z
Modified
2026-07-09T04:10:34.687278Z
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.

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:*:*:*:*:*:*:*"
            ],
            "source": "CPE_STRING",
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
                {
                    "introduced": "30"
                },
                {
                    "last_affected": "30"
                },
                {
                    "introduced": "31"
                },
                {
                    "last_affected": "31"
                },
                {
                    "introduced": "32"
                },
                {
                    "last_affected": "32"
                }
            ]
        },
        {
            "cpes": [
                "cpe:2.3:a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:*"
            ],
            "source": "CPE_STRING",
            "vendor_product": "opensuse:backports_sle",
            "extracted_events": [
                {
                    "introduced": "15.0-sp1"
                },
                {
                    "last_affected": "15.0-sp1"
                }
            ]
        },
        {
            "cpes": [
                "cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"
            ],
            "source": "CPE_STRING",
            "vendor_product": "opensuse:leap",
            "extracted_events": [
                {
                    "introduced": "15.1"
                },
                {
                    "last_affected": "15.1"
                }
            ]
        }
    ]
}
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
Database specific
{
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:openfortivpn_project:openfortivpn:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.12.0"
        }
    ]
}

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,
        "id": "CVE-2020-7041-6498aa4a",
        "signature_type": "Line",
        "source": "https://github.com/adrienverge/openfortivpn/commit/60660e00b80bad0fadcf39aee86f6f8756c94f91",
        "target": {
            "file": "src/tunnel.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "291243649204369111040426769665335560463",
                "47288886222928506793920805114664200831",
                "153992118258425434423935772526541605732",
                "37829039087882916392867691797325534195"
            ]
        },
        "signature_version": "v1"
    },
    {
        "deprecated": false,
        "id": "CVE-2020-7041-97438fbb",
        "signature_type": "Function",
        "source": "https://github.com/adrienverge/openfortivpn/commit/60660e00b80bad0fadcf39aee86f6f8756c94f91",
        "target": {
            "file": "src/tunnel.c",
            "function": "ssl_verify_cert"
        },
        "digest": {
            "function_hash": "162382222799021665376847828159443033783",
            "length": 2381.0
        },
        "signature_version": "v1"
    }
]
vanir_signatures_modified
"2026-07-09T04:10:34Z"
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-7041.json"