Ruby TclTkIp retval type confusion

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.4$0-$5k0.00

Summaryinfo

A vulnerability labeled as critical has been found in Ruby. Impacted is the function TclTkIp. Executing a manipulation of the argument retval can lead to type confusion. This vulnerability is handled as CVE-2016-2337. The attack can be executed remotely. There is not any exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in Ruby (Programming Language Software) (the affected version unknown). It has been declared as critical. This vulnerability affects the function TclTkIp. The manipulation of the argument retval with an unknown input leads to a type confusion vulnerability. The CWE definition for the vulnerability is CWE-843. The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

Type confusion exists in _cancel_eval Ruby's TclTkIp class method. Attacker passing different type of object than String as "retval" argument can cause arbitrary code execution.

The bug was discovered 06/14/2016. The weakness was released 01/06/2017 by Cisco with Cisco Talos (Website). The advisory is shared for download at talosintelligence.com. This vulnerability was named CVE-2016-2337 since 02/12/2016. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 206 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 99895 (EulerOS 2.0 SP1 : ruby (EulerOS-SA-2017-1050)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Huawei Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 196859 (Ubuntu Security Notification for Ruby1.9.1, Ruby2.0, Ruby2.3 Vulnerabilities (USN-3365-1)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 3 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (99895) and SecurityFocus (BID 91233†). Entries connected to this vulnerability are available at VDB-95057, VDB-96308, VDB-99047 and VDB-102247. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Name

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.5
VulDB Meta Temp Score: 8.4

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Type confusion
CWE: CWE-843
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 99895
Nessus Name: EulerOS 2.0 SP1 : ruby (EulerOS-SA-2017-1050)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 841810
OpenVAS Name: Ubuntu Update for ruby2.3 USN-3365-1
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

02/12/2016 🔍
06/14/2016 +123 days 🔍
06/14/2016 +0 days 🔍
01/06/2017 +206 days 🔍
01/06/2017 +0 days 🔍
01/07/2017 +1 days 🔍
03/13/2017 +65 days 🔍
05/01/2017 +49 days 🔍
04/20/2025 +2911 days 🔍

Sourcesinfo

Advisory: DLA 1480-1
Researcher: Cisco
Organization: Cisco Talos
Status: Confirmed

CVE: CVE-2016-2337 (🔍)
GCVE (CVE): GCVE-0-2016-2337
GCVE (VulDB): GCVE-100-95056
SecurityFocus: 91233 - Ruby TclTkIp 'ip_cancel_eval()' Function Type Confusion Remote Code Execution Vulnerability
OSVDB: - CVE-2016-2337 - Ruby - Type Confusion Issue

See also: 🔍

Entryinfo

Created: 01/07/2017 12:49
Updated: 04/20/2025 04:06
Changes: 01/07/2017 12:49 (74), 07/15/2020 12:34 (8), 10/27/2022 16:54 (3), 04/20/2025 04:06 (17)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!