SV-283674r1193281_rule
V-283674
SRG-APP-001035-DB-000323
CD16-00-009300
CAT I
10
Upgrade or install a version of the product supported by the vendor.
If new packages are available for PostgreSQL, they can be reviewed in the package manager appropriate for the server operating system:
To list the version of installed PostgreSQL using psql:
$ sudo su - postgres
$ psql --version
To list the current version of software for RPM:
$ rpm -qa | grep postgres
To list the current version of software for APT:
$ apt-cache policy postgres
All versions of PostgreSQL are listed here: http://www.postgresql.org/support/versioning/
All security-relevant software updates for PostgreSQL are listed here: http://www.postgresql.org/support/security/
If PostgreSQL is not at the latest version, this is a finding.
V-283674
False
CD16-00-009300
If new packages are available for PostgreSQL, they can be reviewed in the package manager appropriate for the server operating system:
To list the version of installed PostgreSQL using psql:
$ sudo su - postgres
$ psql --version
To list the current version of software for RPM:
$ rpm -qa | grep postgres
To list the current version of software for APT:
$ apt-cache policy postgres
All versions of PostgreSQL are listed here: http://www.postgresql.org/support/versioning/
All security-relevant software updates for PostgreSQL are listed here: http://www.postgresql.org/support/security/
If PostgreSQL is not at the latest version, this is a finding.
M
5598