PostgreSQL up to 7.2.1 Date Parser 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.
5.7$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, has been found in PostgreSQL up to 7.2.1. Impacted is an unknown function of the component Date Parser. Performing a manipulation results in memory corruption. This vulnerability is identified as CVE-2002-1398. There is not any exploit available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as problematic, was found in PostgreSQL up to 7.2.1 (Database Software). This affects an unknown functionality of the component Date Parser. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as 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. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

Buffer overflow in the date parser for PostgreSQL before 7.2.2 allows attackers to cause a denial of service and possibly execute arbitrary code via a long date string, aka a vulnerability "in handling long datetime input."

The weakness was released 01/17/2003 by Florian Weimer with CERT (Website). It is possible to read the advisory at novell.com. This vulnerability is uniquely identified as CVE-2002-1398. The exploitability is told to be easy. Attacking locally is a requirement. No form of authentication is needed for exploitation. The technical details are unknown and an exploit is not publicly available.

The vulnerability scanner Nessus provides a plugin with the ID 15002 (Debian DSA-165-1 : postgresql - buffer overflows), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 19158 (PostgreSQL Date Parser Buffer Overflow Vulnerability).

Upgrading to version 7.2.2 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 (9892), Tenable (15002), SecurityFocus (BID 6612†), Secunia (SA8034†) and Vulnerability Center (SBV-5584†). Entries connected to this vulnerability are available at VDB-18780, VDB-20090, VDB-20093 and VDB-20094. Statistical analysis made it clear that VulDB provides the best quality 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: 5.9
VulDB Meta Temp Score: 5.7

VulDB Base Score: 5.9
VulDB Temp Score: 5.7
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: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 15002
Nessus Name: Debian DSA-165-1 : postgresql - buffer overflows
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: 🔍

Upgrade: PostgreSQL 7.2.2

Timelineinfo

08/19/2002 🔍
09/12/2002 +24 days 🔍
01/17/2003 +127 days 🔍
01/17/2003 +0 days 🔍
02/12/2003 +26 days 🔍
01/01/2004 +323 days 🔍
09/29/2004 +272 days 🔍
10/18/2004 +19 days 🔍
08/07/2014 +3580 days 🔍
09/06/2025 +4048 days 🔍

Sourcesinfo

Product: postgresql.org

Advisory: novell.com
Researcher: Florian Weimer
Organization: CERT
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2002-1398 (🔍)
GCVE (CVE): GCVE-0-2002-1398
GCVE (VulDB): GCVE-100-20091
X-Force: 9892
SecurityFocus: 6612 - PostgreSQL Date Parser Buffer Overflow Vulnerability
Secunia: 8034 - Mandrake updates to postgresql, Moderately Critical
Vulnerability Center: 5584 - Buffer Overflow in PostgreSQL 7.2 and Earlier Date Parser via Long Datetime Input, High

See also: 🔍

Entryinfo

Created: 08/07/2014 17:00
Updated: 09/06/2025 03:46
Changes: 08/07/2014 17:00 (69), 05/25/2019 11:53 (5), 09/06/2025 03:46 (20)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!