Code Injection in PostgreSQL - CVE-2010-1169

 

Code Injection in PostgreSQL - CVE-2010-1169

Published: September 19, 2017 / Updated: June 23, 2025


Vulnerability identifier: #VU111770
CSH Severity: High
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2010-1169
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code.

PostgreSQL 7.4 before 7.4.29, 8.0 before 8.0.25, 8.1 before 8.1.21, 8.2 before 8.2.17, 8.3 before 8.3.11, 8.4 before 8.4.4, and 9.0 Beta before 9.0 Beta 2 does not properly restrict PL/perl procedures, which allows remote authenticated users, with database-creation privileges, to execute arbitrary Perl code via a crafted script, related to the Safe module (aka Safe.pm) for Perl. NOTE: some sources report that this issue is the same as CVE-2010-1447.


Affected software

PostgreSQL
Gentoo Linux
dev-db/postgresql
dev-db/postgresql-server

How to mitigate CVE-2010-1169

Install update from vendor's website.

PostgreSQL - addressed in versions 7.4.29, 8.0.25, 8.1.21, 8.2.17, 8.3.11, 8.4.4
dev-db/postgresql - update to 9.0.5
dev-db/postgresql-server - update to 9.0.5

External References

Related Security Bulletins