Rubygems Mail gem up to 2.3.2 input validation

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.
7.0$0-$5k0.00

A vulnerability was found in Rubygems Mail gem up to 2.3.2 (Programming Language Software). It has been rated as critical. Affected by this issue is an unknown function. The manipulation with an unknown input leads to a input validation vulnerability. Using CWE to declare the problem leads to CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. Impacted is confidentiality, integrity, and availability. CVE summarizes:

The Mail gem before 2.4.3 for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a (1) sendmail or (2) exim delivery.

The weakness was shared 07/18/2012 (Website). The advisory is available at github.com. This vulnerability is handled as CVE-2012-2140 since 04/04/2012. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. The technical details are unknown and an exploit is not available.

The vulnerability scanner Nessus provides a plugin with the ID 59199 (Fedora 16 : rubygem-actionmailer-3.0.10-2.fc16 / rubygem-mail-2.4.4-1.fc16 (2012-7535)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165507 (SUSE Enterprise Linux Security Update for rubygem-mail-2_3 (SUSE-SU-2012:0843-1)).

Upgrading to version 2.3.3 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (75166) and Tenable (59199). The entry VDB-61333 is related to this item.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.0

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

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 59199
Nessus Name: Fedora 16 : rubygem-actionmailer-3.0.10-2.fc16 / rubygem-mail-2.4.4-1.fc16 (2012-7535)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 71381
OpenVAS Name: FreeBSD Ports: rubygem-mail
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Mail gem 2.3.3
Patch: github.com

Timelineinfo

04/04/2012 🔍
04/26/2012 +22 days 🔍
07/18/2012 +83 days 🔍
07/18/2012 +0 days 🔍
07/18/2012 +0 days 🔍
07/24/2012 +6 days 🔍
03/23/2015 +972 days 🔍
12/06/2021 +2450 days 🔍

Sourcesinfo

Advisory: 39b590ddb08f90ddbe445837359a2c8843e533d0
Status: Not defined
Confirmation: 🔍

CVE: CVE-2012-2140 (🔍)
X-Force: 75166
Vulnerability Center: 35665 - Mail Gem <2.4.3 For Ruby Remote Commands Execution via Crafted Data in sendmail\\exim delivery, High
SecurityFocus: 53257
Secunia: 48970 - Ruby Mail Gem Directory Traversal and Shell Command Injection Vulnerabilities, Moderately Critical

See also: 🔍

Entryinfo

Created: 03/23/2015 16:50
Updated: 12/06/2021 13:07
Changes: 03/23/2015 16:50 (62), 04/14/2017 14:54 (10), 12/06/2021 13:00 (4), 12/06/2021 13:07 (1)
Complete: 🔍
Cache ID: 18:E3F:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!