SQL Injection Affecting postgresql package, versions [,8.3.18)[8.4.0,8.4.11)[9.0.0,9.0.7)[9.1.0,9.1.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.99% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-POSTGRESQL-2335988
  • published12 Jan 2022
  • disclosed18 Jul 2012
  • creditUnknown

Introduced: 18 Jul 2012

CVE-2012-0868  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade postgresql to version 8.3.18, 8.4.11, 9.0.7, 9.1.3 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection. CRLF injection vulnerability in pg_dump in PostgreSQL 8.3.x before 8.3.18, 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 allows user-assisted remote attackers to execute arbitrary SQL commands via a crafted file containing object names with newlines, which are inserted into an SQL script that is used when the database is restored.

References

CVSS Scores

version 3.1