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 module github.com/hashicorp/go-retryablehttp to v0.7.7 [SECURITY] (release-2.11) #8537

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 27, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/hashicorp/go-retryablehttp v0.7.4 -> v0.7.7 age adoption passing confidence

go-retryablehttp can leak basic auth credentials to log files

GHSA-v6v8-xj6m-xwqh

More information

Details

go-retryablehttp prior to 0.7.7 did not sanitize urls when writing them to its log file. This could lead to go-retryablehttp writing sensitive HTTP basic auth credentials to its log file. This vulnerability, CVE-2024-6104, was fixed in go-retryablehttp 0.7.7.

Severity

  • CVSS Score: 6.0 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Leak of sensitive information to log files in github.com/hashicorp/go-retryablehttp

GO-2024-2947

More information

Details

URLs were not sanitized when writing them to log files. This could lead to writing sensitive HTTP basic auth credentials to the log file.

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


Release Notes

hashicorp/go-retryablehttp (github.com/hashicorp/go-retryablehttp)

v0.7.7

Compare Source

v0.7.6

Compare Source

v0.7.5

Compare Source


Configuration

📅 Schedule: Branch creation - "" (UTC), 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested review from grafanabot and a team as code owners June 27, 2024 07:16
Copy link
Contributor Author

renovate bot commented Jun 27, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 4 additional dependencies were updated

Details:

Package Change
github.com/fatih/color v1.15.0 -> v1.16.0
github.com/hashicorp/go-hclog v1.5.0 -> v1.6.3
github.com/mattn/go-isatty v0.0.19 -> v0.0.20
golang.org/x/sys v0.15.0 -> v0.20.0

@renovate renovate bot changed the title chore(deps): update module github.com/hashicorp/go-retryablehttp to v0.7.7 [security] (release-2.11) Update module github.com/hashicorp/go-retryablehttp to v0.7.7 [SECURITY] (release-2.11) Jun 27, 2024
@renovate renovate bot changed the title Update module github.com/hashicorp/go-retryablehttp to v0.7.7 [SECURITY] (release-2.11) chore(deps): update module github.com/hashicorp/go-retryablehttp to v0.7.7 [security] (release-2.11) Jun 27, 2024
@renovate renovate bot changed the title chore(deps): update module github.com/hashicorp/go-retryablehttp to v0.7.7 [security] (release-2.11) Update module github.com/hashicorp/go-retryablehttp to v0.7.7 [SECURITY] (release-2.11) Jun 27, 2024
@renovate renovate bot changed the title Update module github.com/hashicorp/go-retryablehttp to v0.7.7 [SECURITY] (release-2.11) chore(deps): update module github.com/hashicorp/go-retryablehttp to v0.7.7 [security] (release-2.11) Jun 27, 2024
@renovate renovate bot changed the title chore(deps): update module github.com/hashicorp/go-retryablehttp to v0.7.7 [security] (release-2.11) Update module github.com/hashicorp/go-retryablehttp to v0.7.7 [SECURITY] (release-2.11) Jun 27, 2024
It's a version tagged at the same commit as the existing short SHA.

Signed-off-by: Jack Baldry <[email protected]>
(cherry picked from commit 70fa416)
Copy link
Contributor Author

renovate bot commented Jun 28, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@ying-jeanne ying-jeanne force-pushed the deps-update/release-2.11-go-github.jparrowsec.cn/hashicorp/go-retryablehttp-vulnerability branch from 414da12 to 9c1501e Compare June 28, 2024 11:54
* run skopeo via docker in integration tests.

Signed-off-by: Peter Štibraný <[email protected]>

* Use fixed version.

Signed-off-by: Peter Štibraný <[email protected]>

* Add /tmp volume and path to docker.sock.

Signed-off-by: Peter Štibraný <[email protected]>

* Only map /tmp/images.

Signed-off-by: Peter Štibraný <[email protected]>

---------

Signed-off-by: Peter Štibraný <[email protected]>
(cherry picked from commit 24ae27e)
(cherry picked from commit 27751d5)
@ying-jeanne ying-jeanne force-pushed the deps-update/release-2.11-go-github.jparrowsec.cn/hashicorp/go-retryablehttp-vulnerability branch from 9c1501e to 16d4d45 Compare June 28, 2024 12:01
* Initialize Tanka with 1.29.

Signed-off-by: Peter Štibraný <[email protected]>

* Update other refs.

Signed-off-by: Peter Štibraný <[email protected]>

---------

Signed-off-by: Peter Štibraný <[email protected]>
(cherry picked from commit f62476c)
@ying-jeanne ying-jeanne requested a review from a team as a code owner June 28, 2024 12:19
@ying-jeanne ying-jeanne merged commit 0ebb95c into release-2.11 Jun 28, 2024
28 checks passed
@ying-jeanne ying-jeanne deleted the deps-update/release-2.11-go-github.jparrowsec.cn/hashicorp/go-retryablehttp-vulnerability branch June 28, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants