CVE-2002-0802 SQL injection in n/a

High 7.5 Published Updated

SQL injection vulnerability in PostgreSQL with SQL_ASCII encoding allows attackers to bypass escape characters and execute arbitrary SQL commands.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2002-0802?

CVE-2002-0802 is a high-severity SQL injection vulnerability in Postgresql Postgresql, published on 2 Apr 2003. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The multibyte support in PostgreSQL 6.5.x with SQL_ASCII encoding consumes an extra character when processing a character that cannot be converted, which could remove an escape character from the query and make the application subject to SQL injection attacks.

Which versions are affected by CVE-2002-0802?

It affects 1 product.

Products include Postgresql Postgresql.

How do I fix CVE-2002-0802?

No fix has been published for CVE-2002-0802 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2002-0802 being exploited?

There is no known exploitation of CVE-2002-0802 in the wild and no public exploit code.

All Postgresql Postgresql vulnerabilities

Sources

Also known as GHSA-8w3r-p439-x2rh.

Is CVE-2002-0802 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free