-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): update module github.com/docker/distribution to v2.8.2+incompatible [security] #33
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
Open
renovate-sh-app
wants to merge
1
commit into
main
Choose a base branch
from
renovate/go-github.com-docker-distribution-vulnerability
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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
…ncompatible [security] | datasource | package | from | to | | ---------- | ------------------------------ | ------------------- | ------------------- | | go | github.com/docker/distribution | v2.8.1+incompatible | v2.8.2+incompatible | Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
|
😢 zizmor failed with exit code 14. Expand for full output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains the following updates:
v2.8.1+incompatible→v2.8.2+incompatibleWarning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
GitHub Vulnerability Alerts
CVE-2023-2253
Impact
Systems that run
distributionbuilt after a specific commit running on memory-restricted environments can suffer from denial of service by a crafted malicious/v2/_catalogAPI endpoint request.Patches
Upgrade to at least 2.8.2-beta.1 if you are running
v2.8.xrelease. If you use the code from the main branch, update at least to the commit after f55a6552b006a381d9167e328808565dd2bf77dc.Workarounds
There is no way to work around this issue without patching. Restrict access to the affected API endpoint: see the recommendations section.
References
/v2/_catalogendpoint accepts a parameter to control the maximum amount of records returned (query string:n).When not given the default
n=100is used. The server trusts thatnhas an acceptable value, however when using amaliciously large value, it allocates an array/slice of
nof strings before filling the slice with data.This behaviour was introduced ~7yrs ago [1].
Recommendation
The
/v2/_catalogendpoint was designed specifically to do registry syncs with search or other API systems. Such an endpoint would create a lot of load on the backend system, due to overfetch required to serve a request in certain implementations.Because of this, we strongly recommend keeping this API endpoint behind heightened privilege and avoiding leaving it exposed to the internet.
For more information
If you have any questions or comments about this advisory:
[1] faulty commit
distribution catalog API endpoint can lead to OOM via malicious user input
CVE-2023-2253 / GHSA-hqxw-f8mx-cpmw / GO-2023-1772
More information
Details
Impact
Systems that run
distributionbuilt after a specific commit running on memory-restricted environments can suffer from denial of service by a crafted malicious/v2/_catalogAPI endpoint request.Patches
Upgrade to at least 2.8.2-beta.1 if you are running
v2.8.xrelease. If you use the code from the main branch, update at least to the commit after f55a6552b006a381d9167e328808565dd2bf77dc.Workarounds
There is no way to work around this issue without patching. Restrict access to the affected API endpoint: see the recommendations section.
References
/v2/_catalogendpoint accepts a parameter to control the maximum amount of records returned (query string:n).When not given the default
n=100is used. The server trusts thatnhas an acceptable value, however when using amaliciously large value, it allocates an array/slice of
nof strings before filling the slice with data.This behaviour was introduced ~7yrs ago [1].
Recommendation
The
/v2/_catalogendpoint was designed specifically to do registry syncs with search or other API systems. Such an endpoint would create a lot of load on the backend system, due to overfetch required to serve a request in certain implementations.Because of this, we strongly recommend keeping this API endpoint behind heightened privilege and avoiding leaving it exposed to the internet.
For more information
If you have any questions or comments about this advisory:
[1] faulty commit
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
docker/distribution (github.com/docker/distribution)
v2.8.2+incompatibleCompare Source
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
Need help?
You can ask for more help in the following Slack channel: #proj-renovate-self-hosted. In that channel you can also find ADR and FAQ docs in the Resources section.