GHSA-83mx-573x-5rw9 BIT-node-2021-3449 BIT-node-min-2021-3449 CVE-2021-3449 RUSTSEC-2021-0055
openssl-src NULL pointer Dereference in signature_algorithms processing
- Severity
- 5.9 / 10
- Medium · CVSS 3.1
- Exploit chance (EPSS)
- 63.54%
- Chance of exploitation in the next 30 days. Higher than 99.21% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-476 NULL Pointer Dereference
- Fix
111.15.0- Upgrade openssl-src to this version or later
Description
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. If a TLSv1.2 renegotiation ClientHello omits the signature_algorithms extension (where it was present in the initial ClientHello), but includes a signature_algorithms_cert extension then a NULL pointer dereference will result, leading to a crash and a denial of service attack. A server is only vulnerable if it has TLSv1.2 and renegotiation enabled (which is the default configuration). OpenSSL TLS clients are not impacted by this issue. All OpenSSL 1.1.1 versions are affected by this issue. Users of these versions should upgrade to OpenSSL 1.1.1k. OpenSSL 1.0.2 is not impacted by this issue. Fixed in OpenSSL 1.1.1k (Affected 1.1.1-1.1.1j).
Affected versions
crates.io
| Package | Vulnerable | Fixed in |
|---|---|---|
| openssl-src | < 111.15.0 |
111.15.0 |
| openssl-src | >= 0.0.0-0, < 111.15.0 |
111.15.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.15.0
- cargo
cargo update -p openssl-src --precise 111.15.0
Severity breakdown
CVSS 3.1 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- Network
- Attack complexity
- High
- 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-2021-09
- tenable.com/security/tns-2021-06
- tenable.com/security/tns-2021-05
- oracle.com/security-alerts/cpuoct2021.html
- oracle.com/security-alerts/cpujul2022.html
- oracle.com/security-alerts/cpuapr2022.html
- oracle.com/security-alerts/cpuApr2021.html
- oracle.com//security-alerts/cpujul2021.html
- openssl.org/news/secadv/20210325.txt
- debian.org/security/2021/dsa-4875
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-openssl-2021-…
- security.netapp.com/advisory/ntap-20210513-0002
- security.netapp.com/advisory/ntap-20210326-0006
- security.gentoo.org/glsa/202103-03
- security.FreeBSD.org/advisories/FreeBSD-SA-21:07.openssl.asc
- rustsec.org/advisories/RUSTSEC-2021-0055.html
- rustsec.org/advisories/RUSTSEC-2021-0055
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0013
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CCBFL…
- lists.debian.org/debian-lts-announce/2021/08/msg00029.html
- kc.mcafee.com/corporate/index
- kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44845
- git.openssl.org/gitweb
- cert-portal.siemens.com/productcert/pdf/ssa-772220.pdf
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- openwall.com/lists/oss-security/2021/03/27/1
- openwall.com/lists/oss-security/2021/03/27/2
- openwall.com/lists/oss-security/2021/03/28/3
- openwall.com/lists/oss-security/2021/03/28/4
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