Ruby up to 2.6.7/2.7.3/3.0.1 StartTLS Net::IMAP certificate validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.1 | $0-$5k | 0.00 |
Summary
A vulnerability described as critical has been identified in Ruby up to 2.6.7/2.7.3/3.0.1. This vulnerability affects the function Net::IMAP of the component StartTLS Handler. Executing a manipulation can lead to certificate validation.
This vulnerability is tracked as CVE-2021-32066. The attack can be launched remotely. No exploit exists.
A patch should be applied to remediate this issue.
Details
A vulnerability has been found in Ruby up to 2.6.7/2.7.3/3.0.1 (Programming Language Software) and classified as critical. This vulnerability affects the function Net::IMAP of the component StartTLS Handler. The manipulation with an unknown input leads to a certificate validation vulnerability. The CWE definition for the vulnerability is CWE-295. The product does not validate, or incorrectly validates, a certificate. As an impact it is known to affect confidentiality.
The weakness was disclosed 08/02/2021. The advisory is available at ruby-lang.org. This vulnerability was named CVE-2021-32066. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1587.003 by the MITRE ATT&CK project.
The vulnerability scanner Nessus provides a plugin with the ID 234723 (Oracle Linux 8 : ruby:3.1 (ELSA-2025-4063)), which helps to determine the existence of the flaw in a target environment.
Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the databases at Tenable (234723) and CERT Bund (WID-SEC-2022-1305). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Affected
- Debian Linux
- Amazon Linux 2
- Red Hat Enterprise Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- Gentoo Linux
- Open Source Arch Linux
- Open Source Ruby
- SUSE openSUSE
Product
Type
Name
Version
License
Website
- Product: https://github.com/ruby/ruby/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.1
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Certificate validationCWE: CWE-295 / CWE-287
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 234723
Nessus Name: Oracle Linux 8 : ruby:3.1 (ELSA-2025-4063)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: github.com
Timeline
05/06/2021 🔍08/02/2021 🔍
08/02/2021 🔍
05/09/2026 🔍
Sources
Product: github.comAdvisory: ruby-lang.org
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2021-32066 (🔍)
GCVE (CVE): GCVE-0-2021-32066
GCVE (VulDB): GCVE-100-179842
CERT Bund: WID-SEC-2022-1305 - Ruby: Mehrere Schwachstellen
Entry
Created: 08/02/2021 08:01Updated: 05/09/2026 18:30
Changes: 08/02/2021 08:01 (39), 08/06/2021 10:04 (3), 04/23/2025 08:58 (16), 05/09/2026 18:30 (7)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.