PostgreSQL 8.2.11 gettoken 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.
6.0$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in PostgreSQL 8.2.11. Impacted is the function gettoken. The manipulation leads to numeric error. This vulnerability is listed as CVE-2010-4015. There is no available exploit. It is recommended to apply a patch to fix this issue.

Detailsinfo

A vulnerability was found in PostgreSQL 8.2.11 (Database Software). It has been rated as critical. This issue affects the function gettoken. The manipulation with an unknown input leads to a numeric error vulnerability. Using CWE to declare the problem leads to CWE-189. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

Buffer overflow in the gettoken function in contrib/intarray/_int_bool.c in the intarray array module in PostgreSQL 9.0.x before 9.0.3, 8.4.x before 8.4.7, 8.3.x before 8.3.14, and 8.2.x before 8.2.20 allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via integers with a large number of digits to unspecified functions.

The weakness was presented 02/01/2011 with Apple as Prevent buffer overrun while parsing an integer in a "query_int" value. as confirmed git commit (GIT Repository). It is possible to read the advisory at git.postgresql.org. The identification of this vulnerability is CVE-2010-4015. The exploitation is known to be easy. The attack may be initiated remotely. A simple authentication is required for exploitation. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 68193 (Oracle Linux 4 / 5 / 6 : postgresql (ELSA-2011-0197)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165187 (SUSE Security Update for Multiple Packages (SUSE-SR:2011:005)).

Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.postgresql.org. A possible mitigation has been published before and not just after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (65157), Tenable (68193), SecurityFocus (BID 46084†), OSVDB (70740†) and Vulnerability Center (SBV-29557†). Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.0

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
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: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 68193
Nessus Name: Oracle Linux 4 / 5 / 6 : postgresql (ELSA-2011-0197)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 880471
OpenVAS Name: CentOS Update for postgresql CESA-2011:0197 centos4 i386
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 7ccb6dc2d3e266a551827bb99179708580f72431

Timelineinfo

10/20/2010 🔍
01/31/2011 +103 days 🔍
02/01/2011 +1 days 🔍
02/01/2011 +0 days 🔍
02/01/2011 +0 days 🔍
02/01/2011 +0 days 🔍
02/01/2011 +0 days 🔍
02/06/2011 +4 days 🔍
07/12/2013 +887 days 🔍
03/20/2015 +616 days 🔍
10/13/2021 +2399 days 🔍

Sourcesinfo

Product: postgresql.org

Advisory: Prevent buffer overrun while parsing an integer in a "query_int" value.
Organization: Apple
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2010-4015 (🔍)
GCVE (CVE): GCVE-0-2010-4015
GCVE (VulDB): GCVE-100-56303

OVAL: 🔍
IAVM: 🔍

X-Force: 65157
SecurityFocus: 46084 - PostgreSQL 'intarray' Module 'gettoken()' Buffer Overflow Vulnerability
Secunia: 43144
OSVDB: 70740 - PostgreSQL intarray Module contrib/intarray/_int_bool.c gettoken() Function Overflow
Vulnerability Center: 29557 - PostgreSQL gettoken Function Buffer Overflow Allows Remote Users to Cause DoS or Execute Code, Medium

Entryinfo

Created: 03/20/2015 16:16
Updated: 10/13/2021 14:57
Changes: 03/20/2015 16:16 (69), 03/14/2017 12:02 (12), 10/13/2021 14:52 (6), 10/13/2021 14:57 (1)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!