chef / chef/chef-server

Embedded PostgreSQL 9.6 (EOL) in CINC / Chef Server distribution

Open
#4,174 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Erlang
Stars
303
Forks
211
Avg merge
1d 8h
Merged PRs (30d)
5

Description

Product:
CINC Server (Chef Server community distribution)

Summary:
The distribution includes an embedded PostgreSQL 9.6 binary which is end-of-life and no longer receives security updates. This introduces exposure to unpatched and future vulnerabilities.

Details:
Vulnerability scan identified:

  1. /opt/cinc-project/embedded/postgresql/9.6/bin/postgres
    Version: 9.6.23 (EOL)

  2. /opt/cinc-project/embedded/postgresql/13/bin/postgres
    Version: 13.6 (supported major, but outdated patch level)

PostgreSQL 9.6 has been unsupported since November 2021 and receives no security fixes.

Impact:
Shipping an EOL database component may expose deployments to known and future CVEs. Risk depends on whether the 9.6 binaries are reachable or used in any execution paths, but their presence alone is typically flagged as a critical compliance and security finding.

Reproduction:

  • Deploy CINC Server
  • Inspect embedded binaries under /opt/cinc-project/embedded/postgresql/
  • Confirm presence of 9.6 installation and version output

Expected Behavior:

  • No end-of-life PostgreSQL versions included in distribution
  • All embedded database components on supported and patched versions

Actual Behavior:

  • PostgreSQL 9.6 is bundled alongside newer versions

Request:

  • Remove PostgreSQL 9.6 from distribution, or upgrade all embedded components to a supported version
  • Confirm whether 9.6 is used in any runtime or migration paths
  • Provide remediation guidance for affected customers

Severity:
High (use of unsupported component with no security patching)

References:
https://www.postgresql.org/support/versioning/

Additional Notes:
This was identified via automated vulnerability scanning in a production deployment.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the embedded PostgreSQL installations under /opt/cinc-project/embedded/postgresql/, including the 9.6 and 13 binaries. Trace whether PostgreSQL 9.6 is used by any runtime or migration paths, then verify the distribution contains no end-of-life database version and that remaining components are supported and patched. Document remediation guidance for affected customers.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql
Domain
databases, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.