V-72845

Severity: High

Generated

2019-05-20 15:48:11.984914

Status

Skipped

Security-relevant software updates to PostgreSQL must be installed within the time period directed by an authoritative source (e.g., IAVM, CTOs, DTMs, and STIGs).

NIST 800-53

STIG # Description Result
SI-2 SI-2: Flaw Remediation skipped

Guidance

Security flaws with software applications, including database management systems, are discovered daily. Vendors are constantly updating and patching their products to address newly discovered security vulnerabilities. Organizations (including any contractor to the organization) are required to promptly install security-relevant software updates (e.g., patches, service packs, and hot fixes). Flaws discovered during security assessments, continuous monitoring, incident response activities, or information system error handling must also be addressed expeditiously. Organization-defined time periods for updating security-relevant software may vary based on a variety of factors including, for example, the security category of the information system or the criticality of the update (i.e., severity of the vulnerability related to the discovered flaw). This requirement will apply to software patch management solutions that are used to install patches across the enclave and also to applications themselves that are not part of that p atch management solution. For example, many browsers today provide the capability to install their own patch software. Patch criticality, as well as system criticality, will vary. Therefore, the tactical situations regarding the patch management process will also vary. This means that the time period utilized must be a configurable parameter. Time frames for application of security-relevant software updates may be dependent upon the Information Assurance Vulnerability Management (IAVM) process. The application will be configured to check for and install security-relevant software updates within an identified time period from the availability of the update. The specific time period will be defined by an authoritative source (e.g., IAVM, CTOs, DTMs, and STIGs).

Check

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 will be listed on: http://www.postgresql.org/support/versioning/ All security-relevant software updates for PostgreSQL will be listed on: http://www.postgresql.org/support/security/ If PostgreSQL is not at the latest version, this is a finding. If PostgreSQL is not at the latest version and the evaluated version has CVEs (IAVAs), then this is a CAT I finding.

Fix

Institute and adhere to policies and procedures to ensure that patches are consistently applied to PostgreSQL within the time allowed.

Test Results

  Result
Operating System Detection skipped

Code

  control "V-72845" do
  title "Security-relevant software updates to PostgreSQL must be installed
  within the time period directed by an authoritative source (e.g., IAVM, CTOs,
  DTMs, and STIGs)."
  desc  "Security flaws with software applications, including database
  management systems, are discovered daily. Vendors are constantly updating and
  patching their products to address newly discovered security vulnerabilities.
  Organizations (including any contractor to the organization) are required to
  promptly install security-relevant software updates (e.g., patches, service
  packs, and hot fixes). Flaws discovered during security assessments,
  continuous monitoring, incident response activities, or information system
  error handling must also be addressed expeditiously.  Organization-defined
  time periods for updating security-relevant software may vary based on a
  variety of factors including, for example, the security category of the
  information system or the criticality of the update (i.e., severity of the
  vulnerability related to the discovered flaw).  This requirement will apply
  to software patch management solutions that are used to install patches across
  the enclave and also to applications themselves that are not part of that p
  atch management solution. For example, many browsers today provide the
  capability to install their own patch software. Patch criticality, as well as
  system criticality, will vary. Therefore, the tactical situations regarding
  the patch management process will also vary. This means that the time period
  utilized must be a configurable parameter. Time frames for application of
  security-relevant software updates may be dependent upon the Information
  Assurance Vulnerability Management (IAVM) process.  The application will
  be configured to check for and install security-relevant software updates
  within an identified time period from the availability of the update. The
  specific time period will be defined by an authoritative source (e.g., IAVM,
  CTOs, DTMs, and STIGs)."
  impact 0.7
  tag "severity": "high"
  tag "gtitle": "SRG-APP-000456-DB-000390"
  tag "gid": "V-72845"
  tag "rid": "SV-87497r1_rule"
  tag "stig_id": "PGS9-00-000300"
  tag "cci": "CCI-002605"
  tag "nist": ["SI-2 c", "Rev_4"]

  tag "check": "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 will be listed on:
  http://www.postgresql.org/support/versioning/
  All security-relevant software updates for PostgreSQL will be listed on:
  http://www.postgresql.org/support/security/
  If PostgreSQL is not at the latest version, this is a finding.
  If PostgreSQL is not at the latest version and the evaluated version has CVEs
  (IAVAs), then this is a CAT I finding."

  tag "fix": "Institute and adhere to policies and procedures to ensure that
  patches are consistently applied to PostgreSQL within the time allowed."

  only_if { false }

end