GNU C Library 2.16 posix_memalign/memalign numeric error

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

Summaryinfo

A vulnerability was found in GNU C Library 2.16 and classified as problematic. This impacts the function posix_memalign/memalign. Executing a manipulation can lead to numeric error. The identification of this vulnerability is CVE-2013-4332. There is no exploit available. It is best practice to apply a patch to resolve this issue.

Detailsinfo

A vulnerability was found in GNU C Library 2.16 (Software Library). It has been declared as critical. This vulnerability affects the function posix_memalign/memalign. The manipulation with an unknown input leads to a numeric error vulnerability. The CWE definition for the vulnerability is CWE-189. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

Multiple integer overflows in malloc/malloc.c in the GNU C Library (aka glibc or libc6) 2.18 and earlier allow context-dependent attackers to cause a denial of service (heap corruption) via a large value to the (1) pvalloc, (2) valloc, (3) posix_memalign, (4) memalign, or (5) aligned_alloc functions.

The issue has been introduced in 06/30/2012. The weakness was shared 08/20/2013 by Will Newton with Toolchain Working Group as Three integer overflows in glibc memory allocator as confirmed mailinglist post (oss-sec). The advisory is available at seclists.org. The mailinglist post contains:

I recently discovered three integer overflow issues in the glibc memory allocator functions pvalloc, valloc and posix_memalign/memalign/aligned_alloc. These issues cause a large allocation size to wrap around and cause a wrong sized allocation and heap corruption. The issues are fixed in glibc mainline.
This vulnerability was named CVE-2013-4332 since 06/12/2013. The exploitation appears to be difficult. Local access is required to approach this attack. No form of authentication is required for a successful exploitation. Technical details are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 416 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 70393 (Scientific Linux Security Update : glibc on SL5.x i386/x86_64), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Scientific Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350474 (Amazon Linux Security Advisory for glibc: ALAS-2013-270).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at sourceware.org. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (87076), Tenable (70393), SecurityFocus (BID 62324†), OSVDB (97248†) and Secunia (SA55113†). The entries VDB-8177, VDB-9979, VDB-10293 and VDB-10583 are related to this item. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.3
VulDB Meta Temp Score: 8.9

VulDB Base Score: 9.3
VulDB Temp Score: 8.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Numeric error
CWE: CWE-189
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 70393
Nessus Name: Scientific Linux Security Update : glibc on SL5.x i386/x86_64
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 866945
OpenVAS Name: Fedora Update for glibc FEDORA-2013-17475
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

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

Patch: sourceware.org

Timelineinfo

06/30/2012 🔍
06/12/2013 +347 days 🔍
08/20/2013 +69 days 🔍
08/20/2013 +0 days 🔍
09/11/2013 +22 days 🔍
09/17/2013 +6 days 🔍
10/02/2013 +15 days 🔍
10/09/2013 +7 days 🔍
10/11/2013 +2 days 🔍
05/24/2021 +2782 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: Three integer overflows in glibc memory allocator
Researcher: Will Newton
Organization: Toolchain Working Group
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2013-4332 (🔍)
GCVE (CVE): GCVE-0-2013-4332
GCVE (VulDB): GCVE-100-10294

OVAL: 🔍

X-Force: 87076
SecurityFocus: 62324
Secunia: 55113 - SUSE update for glibc, Less Critical
OSVDB: 97248
Vulnerability Center: 41741 - GNU GlibC 2.18 and Earlier Remote Code Execution Vulnerability due to Integer Overflow, High

See also: 🔍

Entryinfo

Created: 09/17/2013 10:18
Updated: 05/24/2021 18:10
Changes: 09/17/2013 10:18 (88), 05/12/2017 11:07 (1), 05/24/2021 18:10 (3)
Complete: 🔍
Cache ID: 216:AF2:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!