Description

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.

INFO

Published Date :

Sept. 29, 2022, 3:15 a.m.

Last Modified :

Nov. 21, 2024, 2:48 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2016-2338 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2016-2338 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Ruby-lang ruby
1 Debian debian_linux
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2016-2338.

URL Resource
http://www.talosintelligence.com/reports/TALOS-2016-0032/ Exploit Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/03/msg00032.html Mailing List Third Party Advisory
https://security.netapp.com/advisory/ntap-20221228-0005/ Third Party Advisory
http://www.talosintelligence.com/reports/TALOS-2016-0032/ Exploit Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/03/msg00032.html Mailing List Third Party Advisory
https://security.netapp.com/advisory/ntap-20221228-0005/ Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

CVE-2016-2338 Use-after-free nday full exploit

Ruby

Updated: 1 year, 5 months ago
0 stars 1 fork 1 watcher
Born at : Dec. 19, 2022, 7:34 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-2338 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-2338 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.talosintelligence.com/reports/TALOS-2016-0032/
    Added Reference https://lists.debian.org/debian-lts-announce/2020/03/msg00032.html
    Added Reference https://security.netapp.com/advisory/ntap-20221228-0005/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Mar. 01, 2023

    Action Type Old Value New Value
    Changed Reference Type https://security.netapp.com/advisory/ntap-20221228-0005/ No Types Assigned https://security.netapp.com/advisory/ntap-20221228-0005/ Third Party Advisory
  • CVE Modified by [email protected]

    Dec. 28, 2022

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20221228-0005/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Oct. 03, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.talosintelligence.com/reports/TALOS-2016-0032/ No Types Assigned http://www.talosintelligence.com/reports/TALOS-2016-0032/ Exploit, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2020/03/msg00032.html No Types Assigned https://lists.debian.org/debian-lts-announce/2020/03/msg00032.html Mailing List, Third Party Advisory
    Added CWE NIST CWE-787
    Added CPE Configuration OR *cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:* *cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Sep. 29, 2022

    Action Type Old Value New Value
    Removed Reference https://www.cve.org/CVERecord?id=CVE-2016-2338 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-2338 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2016-2338 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.25 }} -0.61%

score

0.64271

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability