Skip to content

fix(golang-github-hashicorp-go-retryablehttp): CVE-2024-6104#1

Merged
Zeno-sole merged 1 commit intomasterfrom
fix/CVE-2024-6104
Apr 30, 2026
Merged

fix(golang-github-hashicorp-go-retryablehttp): CVE-2024-6104#1
Zeno-sole merged 1 commit intomasterfrom
fix/CVE-2024-6104

Conversation

@deepin-ci-robot
Copy link
Copy Markdown
Contributor

Security Update

CVE-2024-6104

CVE Details

  • CVE-2024-6104: 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.

Fix

  • Add redactURL() function to redact sensitive information (passwords) from URLs before logging
  • Backported from upstream commit b2aee50 (v0.7.7)

Upstream

Metadata


Generated by AI

This vulnerability allows HTTP basic auth credentials to be written
to log files when URLs are logged.

The fix adds a redactURL() function that redacts sensitive information
from URLs before logging, preventing credential exposure.

Patch backported from upstream commit b2aee50.
@deepin-ci-robot
Copy link
Copy Markdown
Contributor Author

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign zeno-sole for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions
Copy link
Copy Markdown

TAG Bot

TAG: 0.7.0-1deepin1
EXISTED: no
DISTRIBUTION: unstable

@hudeng-go
Copy link
Copy Markdown
Contributor

/integrate

@github-actions
Copy link
Copy Markdown

AutoIntegrationPr Bot
auto integrate with pr url: deepin-community/Repository-Integration#3918
PrNumber: 3918
PrBranch: auto-integration-25144764083

@Zeno-sole Zeno-sole merged commit 1e24f0d into master Apr 30, 2026
7 of 9 checks passed
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