Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update postgres:17.3-alpine Docker digest from 17.3 to 17.3-alpine (docker-compose.yml) #11827

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 15, 2025

This PR contains the following updates:

Package Update Change
postgres digest 63d02e4 -> 80d3d7d

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Feb 15, 2025
Copy link

dryrunsecurity bot commented Feb 15, 2025

DryRun Security Summary

A Docker configuration update revealed multiple security vulnerabilities including exposed credentials, default admin settings, unrestricted network access, and sensitive information exposure in the docker-compose.yml file.

Expand for full summary

PR updates PostgreSQL Docker image SHA256 hash in docker-compose.yml from an old hash to a new hash, with routine image digest update. Multiple critical security vulnerabilities discovered:

  1. Exposed Credentials in docker-compose.yml:
  • Hardcoded PostgreSQL password: POSTGRES_PASSWORD: ${DD_DATABASE_PASSWORD:-defectdojo}
  • Hardcoded Django Secret Key: DD_SECRET_KEY: \"${DD_SECRET_KEY:-hhZCp@D28z!n@NED*yB!ROMt+WzsY*iq}\"
  • Hardcoded Credential Encryption Key: DD_CREDENTIAL_AES_256_KEY: \"${DD_CREDENTIAL_AES_256_KEY:-&91a*agLqesc*0DJ+2*bAbsUZfR*4nLw}\"
  1. Default Admin Configuration Risks:
  • Predictable admin user: DD_ADMIN_USER: \"${DD_ADMIN_USER:-admin}\"
  • Default admin email: DD_ADMIN_MAIL: \"${DD_ADMIN_USER:-admin@defectdojo.local}\"
  1. Network Exposure Vulnerability:
  • DD_ALLOWED_HOSTS set to *, permitting connections from any host
  1. Sensitive Information Exposure:
  • Environment variables contain unprotected sensitive configuration details
  1. Lack of Security Isolation:
  • No network segmentation or service communication security constraints defined

Code Analysis

We ran 9 analyzers against 1 file and 0 analyzers had findings. 9 analyzers had no findings.

View PR in the DryRun Dashboard.

@renovate renovate bot changed the title Update postgres:17.3-alpine Docker digest from 17.3 to 17.3-alpine (docker-compose.yml) chore(deps): update postgres:17.3-alpine docker digest from 17.3 to 17.3-alpine (docker-compose.yml) Feb 15, 2025
Copy link
Contributor

@mtesauro mtesauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@renovate renovate bot force-pushed the renovate/postgres-17.3-alpine branch from 6fe7b87 to dad3575 Compare February 16, 2025 02:15
@renovate renovate bot changed the title chore(deps): update postgres:17.3-alpine docker digest from 17.3 to 17.3-alpine (docker-compose.yml) Update postgres:17.3-alpine Docker digest from 17.3 to 17.3-alpine (docker-compose.yml) Feb 16, 2025
@renovate renovate bot changed the title Update postgres:17.3-alpine Docker digest from 17.3 to 17.3-alpine (docker-compose.yml) chore(deps): update postgres:17.3-alpine docker digest from 17.3 to 17.3-alpine (docker-compose.yml) Feb 18, 2025
@renovate renovate bot changed the title chore(deps): update postgres:17.3-alpine docker digest from 17.3 to 17.3-alpine (docker-compose.yml) Update postgres:17.3-alpine Docker digest from 17.3 to 17.3-alpine (docker-compose.yml) Feb 18, 2025
@mtesauro mtesauro merged commit 59ca212 into dev Feb 18, 2025
74 checks passed
@renovate renovate bot deleted the renovate/postgres-17.3-alpine branch March 3, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file docker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants