Perl up to 5.14.2 util.c Perl_repeatcpy memory corruption

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

Summaryinfo

A vulnerability marked as critical has been reported in Perl up to 5.14.2. This impacts the function Perl_repeatcpy of the file util.c. This manipulation causes memory corruption. This vulnerability appears as CVE-2012-5195. There is no available exploit. It is suggested to install a patch to address this issue.

Detailsinfo

A vulnerability has been found in Perl up to 5.14.2 (Programming Language Software) and classified as critical. Affected by this vulnerability is the function Perl_repeatcpy of the file util.c. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

Heap-based buffer overflow in the Perl_repeatcpy function in util.c in Perl 5.12.x before 5.12.5, 5.14.x before 5.14.3, and 5.15.x before 15.15.5 allows context-dependent attackers to cause a denial of service (memory consumption and crash) or possibly execute arbitrary code via the x string repeat operator.

The weakness was presented 12/17/2012 by Tim Brown with Brown as confirmed git commit (GIT Repository). The advisory is shared at perl5.git.perl.org. This vulnerability is known as CVE-2012-5195 since 09/28/2012. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 69736 (Amazon Linux AMI : perl (ALAS-2013-177)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350569 (Amazon Linux Security Advisory for perl: ALAS-2013-177).

Upgrading to version 5.12.3 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at perl5.git.perl.org. The best possible mitigation is suggested to be patching the affected component.

The vulnerability is also documented in the databases at X-Force (79639), Tenable (69736), SecurityFocus (BID 56287†), Secunia (SA51457†) and Vulnerability Center (SBV-48768†). See VDB-7882, VDB-10928, VDB-63318 and VDB-63016 for similar entries. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

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: Memory corruption
CWE: CWE-119
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: 69736
Nessus Name: Amazon Linux AMI : perl (ALAS-2013-177)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 892586
OpenVAS Name: Debian Security Advisory DSA 2586-1 (perl - several vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Upgrade: Perl 5.12.3
Patch: perl5.git.perl.org

Timelineinfo

09/28/2012 🔍
10/26/2012 +28 days 🔍
12/17/2012 +52 days 🔍
12/17/2012 +0 days 🔍
12/17/2012 +0 days 🔍
09/04/2013 +261 days 🔍
02/25/2015 +539 days 🔍
03/24/2015 +27 days 🔍
12/20/2021 +2463 days 🔍

Sourcesinfo

Advisory: RHSA-2013:0685
Researcher: Tim Brown
Organization: Brown
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2012-5195 (🔍)
GCVE (CVE): GCVE-0-2012-5195
GCVE (VulDB): GCVE-100-63193

OVAL: 🔍

X-Force: 79639
SecurityFocus: 56287 - Perl CVE-2012-5195 Heap-Based Memory Corruption Vulnerability
Secunia: 51457
Vulnerability Center: 48768 - Perl \x27Perl_repeatcpy\x27 Heap-Based Buffer Overflow Allows Remote Code Execution \\ DoS, Medium

See also: 🔍

Entryinfo

Created: 03/24/2015 12:22
Updated: 12/20/2021 20:53
Changes: 03/24/2015 12:22 (72), 06/21/2017 10:44 (8), 12/20/2021 20:37 (3), 12/20/2021 20:45 (1), 12/20/2021 20:53 (2)
Complete: 🔍
Cache ID: 216:ECA:103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

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!