GHSA-jq65-29v4-4x35 CVE-2020-1967 RUSTSEC-2020-0015
Null pointer deference in openssl-src
- Severity
- 7.5 / 10
- High · CVSS 3.1
- Exploit chance (EPSS)
- 53.34%
- Chance of exploitation in the next 30 days. Higher than 98.99% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-476 NULL Pointer Dereference
- Fix
111.9.0- Upgrade openssl-src to this version or later
Description
Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due to a NULL pointer dereference as a result of incorrect handling of the "signature_algorithms_cert" TLS extension. The crash occurs if an invalid or unrecognised signature algorithm is received from the peer. This could be exploited by a malicious peer in a Denial of Service attack. OpenSSL version 1.1.1d, 1.1.1e, and 1.1.1f are affected by this issue. This issue did not affect OpenSSL versions prior to 1.1.1d. Fixed in OpenSSL 1.1.1g (Affected 1.1.1d-1.1.1f).
Affected versions
crates.io
| Package | Vulnerable | Fixed in |
|---|---|---|
| openssl-src | >= 111.6.0, < 111.9.0 |
111.9.0 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
openssl-src crates.io → 111.9.0
- cargo
cargo update -p openssl-src --precise 111.9.0
Severity breakdown
CVSS 3.1 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Weakness
CWE-476: NULL Pointer Dereference
The product dereferences a pointer that it expects to be valid but is NULL.
How to prevent it
- Implementation: For any pointers that could have been modified or provided from a function that can return NULL, check the pointer for NULL before use. When working with a multithreaded or otherwise asynchronous environment, ensure that proper locking APIs are used to lock before the check, and unlock when it has finished [REF-1484].
- Requirements: Select a programming language that is not susceptible to these issues.
- Implementation: Check the results of all functions that return a value and verify that the value is non-null before acting upon it.
- Architecture and Design: Identify all variables and data stores that receive information from external sources, and apply input validation to make sure that they are only initialized to expected values.
- Implementation: Explicitly initialize all variables and other data stores, either during declaration or just before the first usage.
References
Advisories
Packages
Other links
- tenable.com/security/tns-2021-10
- tenable.com/security/tns-2020-11
- tenable.com/security/tns-2020-04
- tenable.com/security/tns-2020-03
- synology.com/security/advisory/Synology_SA_20_05_OpenSSL
- synology.com/security/advisory/Synology_SA_20_05
- oracle.com/security-alerts/cpuoct2021.html
- oracle.com/security-alerts/cpuoct2020.html
- oracle.com/security-alerts/cpujul2020.html
- oracle.com/security-alerts/cpujan2021.html
- oracle.com/security-alerts/cpuApr2021.html
- oracle.com//security-alerts/cpujul2021.html
- openssl.org/news/secadv/20200421.txt
- debian.org/security/2020/dsa-4661
- security.netapp.com/advisory/ntap-20200717-0004
- security.netapp.com/advisory/ntap-20200424-0003
- security.gentoo.org/glsa/202004-10
- security.FreeBSD.org/advisories/FreeBSD-SA-20:11.openssl.asc
- rustsec.org/advisories/RUSTSEC-2020-0015.html
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XVEP3…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EXDDA…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DDHOA…
- lists.apache.org/thread.html/r9a41e304992ce6aec6585a87842b4f2e692604f5c892c37e3b0587e…
- lists.apache.org/thread.html/r94d6ac3f010a38fccf4f432b12180a13fa1cf303559bd805648c906…
- lists.apache.org/thread.html/r66ea9c436da150683432db5fbc8beb8ae01886c6459ac30c2cea734…
- kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44440
- github.com/irsl/CVE-2020-1967
- git.openssl.org/gitweb
- lists.opensuse.org/opensuse-security-announce/2020-07/msg00004.html
- lists.opensuse.org/opensuse-security-announce/2020-07/msg00011.html
- packetstormsecurity.com/files/157527/OpenSSL-signature_algorithms_cert-Denial-Of-Service.html
- seclists.org/fulldisclosure/2020/May/5
- openwall.com/lists/oss-security/2020/04/22/2
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-w67w-mw4j-8qrv openssl-src contains Read Buffer Overflow in X.509 Name Constraint | Medium | Also affects openssl-src |
| GHSA-vrh7-x64v-7vxq openssl-src contains `NULL` dereference during PKCS7 data verification | High | Also affects openssl-src |
| GHSA-vxrh-cpg7-8vjr openssl-src subject to NULL dereference validating DSA public key | High | Also affects openssl-src |
| GHSA-r7jw-wp68-3xch openssl-src vulnerable to Use-after-free following `BIO_new_NDEF` | High | Also affects openssl-src |
| GHSA-v5w6-wcm8-jm4q openssl-src contains Double free after calling `PEM_read_bio_ex` | High | Also affects openssl-src |
| GHSA-p52g-cm5j-mjv4 openssl-src subject to Timing Oracle in RSA Decryption | Medium | Also affects openssl-src |
| GHSA-29xx-hcv2-c4cp openssl-src subject to Invalid pointer dereference in `d2i_PKCS7` functions | High | Also affects openssl-src |
| GHSA-x4qr-2fvf-3mr5 Vulnerable OpenSSL included in cryptography wheels | High | Also affects openssl-src |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor