PostgreSQL up to 7.2 cash_words integer coercion

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 classified as critical was found in PostgreSQL up to 7.2. This issue affects the function cash_words. Such manipulation with the input -1 leads to integer coercion. This vulnerability is referenced as CVE-2002-1397. No exploit is available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability, which was classified as critical, has been found in PostgreSQL up to 7.2 (Database Software). Affected by this issue is the function cash_words. The manipulation with the input value -1 leads to a integer coercion vulnerability. Using CWE to declare the problem leads to CWE-192. Integer coercion refers to a set of flaws pertaining to the type casting, extension, or truncation of primitive data types. Impacted is confidentiality, integrity, and availability. CVE summarizes:

Vulnerability in the cash_words() function for PostgreSQL 7.2 and earlier allows local users to cause a denial of service and possibly execute arbitrary code via a large negative argument, possibly triggering an integer signedness error or buffer overflow.

The weakness was published 01/17/2003 by Sir Mordred as not defined posting (Bugtraq). The advisory is available at marc.theaimsgroup.com. This vulnerability is handled as CVE-2002-1397. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 11456 (PostgreSQL < 7.2.3 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Databases and running in the context r. The commercial vulnerability scanner Qualys is able to test this issue with plugin 19162 (PostgreSQL cash_words Function Buffer Overflow Vulnerability).

Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (9891), Tenable (11456), SecurityFocus (BID 5497†), Secunia (SA8034†) and Vulnerability Center (SBV-1805†). Similar entries are available at VDB-18780, VDB-20091, VDB-20092 and VDB-20093. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

License

Website

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: Integer coercion
CWE: CWE-192 / 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: 11456
Nessus Name: PostgreSQL < 7.2.3 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Timelineinfo

08/19/2002 🔍
10/01/2002 +43 days 🔍
01/17/2003 +108 days 🔍
01/17/2003 +0 days 🔍
01/17/2003 +0 days 🔍
02/12/2003 +26 days 🔍
03/24/2003 +40 days 🔍
08/27/2003 +156 days 🔍
08/07/2014 +3998 days 🔍
09/06/2025 +4048 days 🔍

Sourcesinfo

Product: postgresql.org

Advisory: marc.theaimsgroup.com
Researcher: Sir Mordred
Status: Confirmed

CVE: CVE-2002-1397 (🔍)
GCVE (CVE): GCVE-0-2002-1397
GCVE (VulDB): GCVE-100-20090
X-Force: 9891
SecurityFocus: 5497 - PostgreSQL cash_words Function Buffer Overflow Vulnerability
Secunia: 8034 - Mandrake updates to postgresql, Moderately Critical
Vulnerability Center: 1805 - Buffer Overflow in cash_words() Function for PostgreSQL <= 7.2, Medium

See also: 🔍

Entryinfo

Created: 08/07/2014 16:59
Updated: 09/06/2025 03:46
Changes: 08/07/2014 16:59 (66), 05/12/2019 00:05 (7), 09/06/2025 03:46 (20)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!