Skip to content
VulniPulse
High7.5Fortinet

CVE-2022-0778: Fortinet Vulnerability in OpenSSL library

This Fortinet advisory covers CVE-2022-0778 in FortiOS, FortiManager and FortiAnalyzer.

Open the Fortinet advisory

Am I affected by CVE-2022-0778?

You are affected if you run FortiOS, FortiManager, FortiAnalyzer at one of the versions below. If you do, upgrade to the fixed release listed for your version.

AffectedFixed in
1.0.21.0.2-1
1.1.11.1.1-1

Also listed as fixed: 3.0.2, 3.0.0, 3.0.1

Official advisory · high-confidence parse· fetched ·verify at source

Key facts

Vendor rating
High, CVSS 7.5
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · base score 7.5, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: none. Integrity impact: none. Availability impact: high.
Weakness
  • Infinite loop
EPSS
52.6% chance of exploitation in the next 30 days (99th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: yes. Technical impact: partial. CISA, .
CISA KEV
Not listed (catalogue checked )
Advisory id
FG-IR-22-059
Source published
Source revised
Listed by VulniPulse

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Affected products & platforms

FortinetFortiGateFirewallFortiOSFortiManagerFortiAnalyzerFortiMail

Description

CVSSv3 Score:

7.5

A security advisory was released affecting the version of OpenSSL library used in some Fortinet products:CVE-2022-0778:The BN_mod_sqrt() function, which computes a modular square root, contains a bug that can cause it to loop forever for non-prime moduli.

Internally this function is used when parsing certificates that contain elliptic curve public keys in compressed form or explicit elliptic curve parameters with a base point encoded in compressed form. It is possible to trigger the infinite loop by crafting a certificate that has invalid explicit curve parameters.

Since certificate parsing happens prior to verification of the certificate signature, any process that parses an externally supplied certificate may thus be subject to a denial of service attack. The infinite loop can also be reached when parsing crafted private keys as they can contain explicit elliptic curve parameters.

Affected products named by the advisory: FortiOS; FortiManager; FortiAnalyzer; FortiDeceptor; and 2 more.

Text from the source record.

How to fix CVE-2022-0778

Upgrade to a fixed release named by Fortinet:

  • 3.0.2
  • 3.0.0
  • 3.0.1
  • 1.1.1-1
  • 1.0.2-1

Vendor guidance

  • Upgrade per the vendor advisory: FortiOS: 6.0.15; FortiOS: 6.2.11; FortiOS: 6.4.9; FortiOS: 7.0.6; FortiOS: 7.2.0; ….

End-of-life dates for Fortinet FortiOS

CVE-2022-0778 questions

Is CVE-2022-0778 being exploited?

CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Fortinet advisory does not report exploitation. That is not proof it is unexploited.

Am I affected by CVE-2022-0778?

You are affected if you run FortiOS, FortiManager, FortiAnalyzer at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.

How do I fix CVE-2022-0778?

Upgrade to a fixed release Fortinet lists for your version: 3.0.2, 3.0.0, 3.0.1, 1.1.1-1 and 1 more. The advisory's own guidance is above.

How likely is CVE-2022-0778 to be exploited?

FIRST's EPSS model gives it a 52.6% chance of exploitation in the next 30 days (99th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.

How serious is CVE-2022-0778?

Fortinet rates it high, CVSS 7.5 out of 10.

Fortinet advisories, April 2022All Fortinet advisories

Get an email when Fortinet FortiGate publishes the next one.

See Fortinet FortiGate's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).

Alert me about Fortinet FortiGate