CVE-2020-7043

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-7043
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-7043.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-7043
Downstream
Related
Published
2020-02-27T18:15:11Z
Modified
2025-10-15T12:21:38.563158Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

An issue was discovered in openfortivpn 1.11.0 when used with OpenSSL before 1.0.2. tunnel.c mishandles certificate validation because hostname comparisons do not consider '\0' characters, as demonstrated by a good.example.com\x00evil.example.com attack.

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

[
    {
        "id": "CVE-2020-7043-2f760f54",
        "digest": {
            "length": 2429.0,
            "function_hash": "125432945444897325704174321387259565829"
        },
        "source": "https://github.com/adrienverge/openfortivpn/commit/6328a070ddaab16faaf008cb9a8a62439c30f2a8",
        "target": {
            "file": "src/tunnel.c",
            "function": "ssl_verify_cert"
        },
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1"
    },
    {
        "id": "CVE-2020-7043-63a1b135",
        "digest": {
            "line_hashes": [
                "326536668639958100052841729794042126996",
                "123601388663251602674058961315617262532",
                "298499906374837506832731988873827737561",
                "333538535266810693348442609398214357092",
                "222499057199839917237616048434638310995",
                "158021963753876568126672681529555774435",
                "3117077068216323258710621602857852384",
                "210886845709506199277846659849797683834",
                "247627447578623611675946358640487877531",
                "229416393064689430651692213890800657889",
                "78461889246657476217910916720647705158",
                "8031173947055631212742603957353263086",
                "19935018114004311826440147295255170225"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/adrienverge/openfortivpn/commit/6328a070ddaab16faaf008cb9a8a62439c30f2a8",
        "target": {
            "file": "src/tunnel.c"
        },
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1"
    }
]