CVE-2022-0778
openssl-src's infinite loop in `BN_mod_sqrt()` reachable when parsing certificates
Summary
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p openssl-src --precise 300.0.5
cargo update -p openssl-src --precise 111.18.0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| openssl-src | crates.io | All versions | 300.0.5 |
| openssl-src | crates.io | All versions | 111.18.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-835
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-0778ADVISORY
- https://rustsec.org/advisories/RUSTSEC-2022-0014.htmlWEB
- https://security.gentoo.org/glsa/202210-02WEB
- https://security.netapp.com/advisory/ntap-20220321-0002WEB
- https://security.netapp.com/advisory/ntap-20220429-0005WEB
- https://security.netapp.com/advisory/ntap-20240621-0006WEB
- https://support.apple.com/kb/HT213255WEB
- https://support.apple.com/kb/HT213256WEB
- https://support.apple.com/kb/HT213257WEB
- https://www.debian.org/security/2022/dsa-5103WEB
- https://www.openssl.org/news/secadv/20220315.txtWEB
- https://www.oracle.com/security-alerts/cpuapr2022.htmlWEB
- https://www.oracle.com/security-alerts/cpujul2022.htmlWEB
- https://www.tenable.com/security/tns-2022-06WEB
- https://www.tenable.com/security/tns-2022-07WEB
- https://www.tenable.com/security/tns-2022-08WEB
- https://www.tenable.com/security/tns-2022-09WEB
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0002WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W6K3PR542DXWLEFFMFIDMME4CWMHJRMGWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GDB3GQVJPXJE7X5C5JN6JAA4XUDWD6E6WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/323SNN6ZX7PRJJWP2BUAFLPUAE42XWLZWEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W6K3PR542DXWLEFFMFIDMME4CWMHJRMGWEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GDB3GQVJPXJE7X5C5JN6JAA4XUDWD6E6WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/323SNN6ZX7PRJJWP2BUAFLPUAE42XWLZWEB
- https://lists.debian.org/debian-lts-announce/2022/03/msg00024.htmlWEB
- https://lists.debian.org/debian-lts-announce/2022/03/msg00023.htmlWEB
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=a466912611aa6cbdf550cd10601390e587451246WEB
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=380085481c64de749a6dd25cdf0bcf4360b30f83WEB
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=3118eb64934499d93db3230748a452351d1d9a65WEB
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=a466912611aa6cbdf550cd10601390e587451246WEB
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=380085481c64de749a6dd25cdf0bcf4360b30f83WEB
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=3118eb64934499d93db3230748a452351d1d9a65WEB
- https://cert-portal.siemens.com/productcert/pdf/ssa-712929.pdfWEB
- https://packetstormsecurity.com/files/167344/OpenSSL-1.0.2-1.1.1-3.0-BN_mod_sqrt-Infinite-Loop.htmlWEB
- https://seclists.org/fulldisclosure/2022/May/33WEB
- https://seclists.org/fulldisclosure/2022/May/35WEB
- https://seclists.org/fulldisclosure/2022/May/38WEB
Frequently Asked Questions
- What is CVE-2022-0778?
- openssl-src's infinite loop in `BN_mod_sqrt()` reachable when parsing certificates This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2022-0778?
- CVE-2022-0778 affects openssl-src. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-0778 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2022-4203CRITICAL
openssl-src contains Read Buffer Overflow in X.509 Name Constraint
- CVE-2022-1473HIGH
Resource leakage when decoding certificates and keys
- CVE-2023-0216HIGH
openssl-src subject to Invalid pointer dereference in `d2i_PKCS7` functions
- CVE-2022-4450HIGH
openssl-src contains Double free after calling `PEM_read_bio_ex`
- CVE-2022-3996HIGH
Denial of service by double-checked locking in openssl-src
- CVE-2023-0401HIGH
openssl-src contains `NULL` dereference during PKCS7 data verification
- CVE-2023-0217HIGH
openssl-src subject to NULL dereference validating DSA public key
- CVE-2023-0286HIGH
Vulnerable OpenSSL included in cryptography wheels
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies