STIGUI
V-261935CAT II — Medium severitySV-261935r1000810_rule

When updates are applied to the PostgreSQL software, any software components that have been replaced or made unnecessary must be removed.

Rule version CD16-00-009100 · STIG v1 · 2026-06-08

Discussion

Previous versions of PostgreSQL components that are not removed from the information system after updates have been installed may be exploited by adversaries.

Some DBMSs' installation tools may remove older versions of software automatically from the information system. In other cases, manual review and removal will be required. In planning installations and upgrades, organizations must include steps (automated, manual, or both) to identify and remove the outdated modules.

A transition period may be necessary when both the old and the new software are required. This should be taken into account in the planning.

Check

To check software installed by packages, as the system administrator, run the following command:

$ sudo rpm -qa | grep postgres

If multiple versions of postgres are installed but are unused, this is a finding.

Fix

Use package managers (RPM or apt-get) for installing PostgreSQL. Unused software is removed when updated.

Identifiers

Group ID
V-261935
Group title
SRG-APP-000454-DB-000389
Rule ID
SV-261935r1000810_rule
Check ID
C-65789r1000808_chk
Fix ID
F-65697r1000809_fix