Heap overflow in Psych::Emitter start_document
Multiple products
At a glance
An exploitable heap overflow vulnerability exists in the Psych::Emitter start_document function of Ruby. In Psych::Emitter start_document function heap buffer "head" allocation is made based on tags array length. Specially constructed object passed as element of tags array can increase this array size after mentioned allocation and cause heap overflow.
Source description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 4.832%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:ruby-lang | ruby | Affected versions:2.2.2Show full version range for ruby2.3.0 |
| Vendor:Debian | debian linux | Affected versions: 8.0 |
| Vendor:redhat | rubyEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby
|
| Vendor:redhat | ruby-develEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-devel
|
| Vendor:redhat | ruby-docsEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-docs
|
| Vendor:redhat | ruby-irbEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-irb
|
| Vendor:redhat | ruby-libsEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-libs
|
| Vendor:redhat | ruby-rdocEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-rdoc
|
| Vendor:redhat | ruby-riEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-ri
|
| Vendor:redhat | ruby-staticEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-static
|
1–10 of 44 · Page 1 of 5
CVSS scores and metrics7
[email protected] · NVD (Primary)Primary9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVE-2016-2338 · OSV (source-vector)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Halas · Wazuh CTI (adp)5.6 / 10MediumCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:Lsuse · Wazuh CTI (adp)8.2 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- Low
- Integrity
- None
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:Hredhat · Wazuh CTI (adp)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hnvd · Wazuh CTI (cna)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HRed Hat · Red Hat VEX (adp)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences