CVE-2022-3786
X.509 Email Address Variable Length Buffer Overflow
Summary
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p openssl-src --precise 300.0.11
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| openssl-src | crates.io | All versions | 300.0.11 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-120Buffer Copy Without Checking SizeMITRE
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-3786ADVISORY
- https://github.com/rustsec/advisory-db/pull/1452WEB
- https://github.com/alexcrichton/openssl-src-rs/commit/4a31c14f31e1a08c18893a37e304dd1dd4b7daa3WEB
- https://github.com/openssl/openssl/commit/fe3b639dc19b325846f4f6801f2f4604f56e3de3WEB
- https://www.openssl.org/news/secadv/20221101.txtWEB
- https://www.kb.cert.org/vuls/id/794340WEB
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-openssl-W9sdCc2aWEB
- https://security.netapp.com/advisory/ntap-20221102-0001WEB
- https://security.gentoo.org/glsa/202211-01WEB
- https://rustsec.org/advisories/RUSTSEC-2022-0065.htmlWEB
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0023WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DWP23EZYOBDJQP7HP4YU7W2ABU2YDITSWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/63YRPWPUSX3MBHNPIEJZDKQT6YA7UF6SWEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWP23EZYOBDJQP7HP4YU7W2ABU2YDITSWEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/63YRPWPUSX3MBHNPIEJZDKQT6YA7UF6SWEB
- https://github.com/alexcrichton/openssl-src-rsPACKAGE
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=c42165b5706e42f67ef8ef4c351a9a4c5d21639aWEB
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=c42165b5706e42f67ef8ef4c351a9a4c5d21639aWEB
- https://packetstormsecurity.com/files/169687/OpenSSL-Security-Advisory-20221101.htmlWEB
- https://www.openwall.com/lists/oss-security/2022/11/01/15WEB
- https://www.openwall.com/lists/oss-security/2022/11/01/16WEB
- https://www.openwall.com/lists/oss-security/2022/11/01/17WEB
- https://www.openwall.com/lists/oss-security/2022/11/01/18WEB
- https://www.openwall.com/lists/oss-security/2022/11/01/19WEB
- https://www.openwall.com/lists/oss-security/2022/11/01/20WEB
- https://www.openwall.com/lists/oss-security/2022/11/01/21WEB
- https://www.openwall.com/lists/oss-security/2022/11/01/24WEB
- https://www.openwall.com/lists/oss-security/2022/11/02/1WEB
- https://www.openwall.com/lists/oss-security/2022/11/02/10WEB
- https://www.openwall.com/lists/oss-security/2022/11/02/11WEB
- https://www.openwall.com/lists/oss-security/2022/11/02/12WEB
- https://www.openwall.com/lists/oss-security/2022/11/02/13WEB
- https://www.openwall.com/lists/oss-security/2022/11/02/14WEB
- https://www.openwall.com/lists/oss-security/2022/11/02/15WEB
- https://www.openwall.com/lists/oss-security/2022/11/02/2WEB
- https://www.openwall.com/lists/oss-security/2022/11/02/3WEB
- https://www.openwall.com/lists/oss-security/2022/11/02/5WEB
- https://www.openwall.com/lists/oss-security/2022/11/02/6WEB
- https://www.openwall.com/lists/oss-security/2022/11/02/7WEB
- https://www.openwall.com/lists/oss-security/2022/11/02/9WEB
- https://www.openwall.com/lists/oss-security/2022/11/03/1WEB
- https://www.openwall.com/lists/oss-security/2022/11/03/10WEB
- https://www.openwall.com/lists/oss-security/2022/11/03/11WEB
- https://www.openwall.com/lists/oss-security/2022/11/03/2WEB
- https://www.openwall.com/lists/oss-security/2022/11/03/3WEB
- https://www.openwall.com/lists/oss-security/2022/11/03/5WEB
- https://www.openwall.com/lists/oss-security/2022/11/03/6WEB
- https://www.openwall.com/lists/oss-security/2022/11/03/7WEB
- https://www.openwall.com/lists/oss-security/2022/11/03/9WEB
Frequently Asked Questions
- What is CVE-2022-3786?
- X.509 Email Address Variable Length Buffer Overflow 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-3786?
- CVE-2022-3786 affects openssl-src. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-3786 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2022-2274CRITICAL
openssl-src heap memory corruption with RSA private key operation
- CVE-2022-3602CRITICAL
X.509 Email Address 4-byte Buffer Overflow
- CVE-2022-3358HIGH
Using a Custom Cipher with `NID_undef` may lead to NULL encryption
- CVE-2022-1473HIGH
Resource leakage when decoding certificates and keys
- CVE-2021-4044HIGH
Invalid handling of `X509_verify_cert()` internal errors in libssl
- CVE-2021-3712HIGH
Read buffer overruns processing ASN.1 strings
- CVE-2023-0215HIGH
openssl-src vulnerable to Use-after-free following `BIO_new_NDEF`
- CVE-2022-4450HIGH
openssl-src contains Double free after calling `PEM_read_bio_ex`
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies