This repository was archived by the owner on Nov 12, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
CVE-2024-27289 #5
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When attempting to connect to a PostgreSQL database using certificate credentials, authentication may fail due to permissions issues on the certificate files. When using migrate in Kubernetes, this issue may be unavoidable when using secrets. The github.com/lib/pq library has resolved this issue as of v1.10.6, so this commit updates that library to the latest release version (v1.10.9) to resolve the issue in migrate.
In order to support running migrations through PgBouncer which does not support advisory locks.
Signed-off-by: guoguangwu <[email protected]>
* Update dktest from v0.3.16 to v0.4.0 to fix docker vulnerability * Fix linter issues * Update outdated GitHub Actions
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0. - [Commits](golang/crypto@v0.14.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
…lang.org/x/crypto-0.17.0 Bump golang.org/x/crypto from 0.14.0 to 0.17.0
Add support for rqlite
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.55.0 to 1.56.3. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.55.0...v1.56.3) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
#1104 Fix golanglint-ci lint config & lint errors
🧑💻 improve error message for invalid source, database, resolves: #1102
Upgrade go-sqlite3 to v1.14.22
Newer versions of postgres require a password
… issues. See: https://docs.docker.com/engine/deprecated/#pushing-and-pulling-with-image-manifest-v2-schema-1 Forked images created by pulling the original image and pushing to the fork. For more details, see: golang-migrate/migrate#1143 (comment)
Fix redshift tests
* chore: remove deprecated `rand.Seed()` in testing.docker * Use math/rand/v2 * Remove Go 1.21 Go 1.21 doesn't support `math/rand/v2`.
build: use Go 1.23 to build the project
fix(tests): fix Docker imports
test(postgres): run tests with PostgreSQL 16
test(mysql): run tests with MySQL 8.0, 8.4, and 9.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.64.1. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.64.0...v1.64.1) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
Support .deb package for Noble Numbat (24.04)
…ogle.golang.org/grpc-1.64.1 Bump google.golang.org/grpc from 1.64.0 to 1.64.1
CORRECTION DONE near m.Step(2) if you want to explicitly set the number of migrations to run
Don't output sensitive information on error
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 10512664 | Triggered | Generic Password | 2063684 | database/pgx/v5/pgx_test.go | View secret |
| 10512664 | Triggered | Generic Password | ab24e76 | database/pgx/v5/pgx_test.go | View secret |
| 14593347 | Triggered | Generic Password | f44379d | database/redshift/redshift_test.go | View secret |
| 14593347 | Triggered | Generic Password | 899a244 | database/redshift/redshift_test.go | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.