docker / volumes-backup-extension

Back up, clone, restore, and share Docker volumes effortlessly.
Apache License 2.0
89 stars 19 forks source link

Fix MUI license issue #132

Closed gtardif closed 6 months ago

gtardif commented 6 months ago

Fix docker build caching issue with secrets. This is causing the extension to display a "missing license" watermark on the UI table

Building a first time without secrets (to export for scout) introduced some cached layers that are wrongly reused when building with secrets. See known issue and fix

We can see in this build that the npm build using the secret is not using cache, that is already build in step "Build and export"

github-actions[bot] commented 6 months ago

:mag: Vulnerabilities of docker/volumes-backup-extension:pr-132

:package: Image Reference docker/volumes-backup-extension:pr-132
digestsha256:c877c5bd905c5d1ee9365960ccf5181b3a4aa4b99bba14b67d7a1d404215a640
vulnerabilitiescritical: 0 high: 1 medium: 0 low: 0
size45 MB
packages52
:package: Base Image busybox:1.35
also known as
  • 1.35-uclibc
  • 1.35.0
  • 1.35.0-uclibc
  • unstable
  • unstable-uclibc
digestsha256:505e5e20edbb5f2ac0abe3622358daf2f4a4c818eea0498445b7248e39db6728
vulnerabilitiescritical: 0 high: 0 medium: 0 low: 0
critical: 0 high: 1 medium: 0 low: 0 golang.org/x/net 0.10.0 (golang) pkg:golang/golang.org/x/net@0.10.0
high 7.5: CVE--2023--39325 Uncontrolled Resource Consumption
Affected range<0.17.0
Fixed version0.17.0
CVSS Score7.5
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score0.00152
EPSS Percentile0.50824
Description
A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded by the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. With the fix applied, HTTP/2 servers now bound the number of simultaneously executing handler goroutines to the stream concurrency limit (MaxConcurrentStreams). New requests arriving when at the limit (which can only happen after the client has reset an existing, in-flight request) will be queued until a handler exits. If the request queue grows too large, the server will terminate the connection. This issue is also fixed in golang.org/x/net/http2 for users manually configuring HTTP/2. The default stream concurrency limit is 250 streams (requests) per HTTP/2 connection. This value may be adjusted using the golang.org/x/net/http2 package; see the Server.MaxConcurrentStreams setting and the ConfigureServer function.
github-actions[bot] commented 6 months ago

Docker image tag(s) pushed:

docker/volumes-backup-extension:pr-132

Labels added to images:

org.opencontainers.image.created=2024-04-26T09:16:53.589Z
org.opencontainers.image.description=Back up, clone, restore, and share Docker volumes effortlessly.
org.opencontainers.image.licenses=Apache-2.0
org.opencontainers.image.revision=
org.opencontainers.image.source=https://github.com/docker/volumes-backup-extension
org.opencontainers.image.title=volumes-backup-extension
org.opencontainers.image.url=https://github.com/docker/volumes-backup-extension
org.opencontainers.image.version=pr-132
github-actions[bot] commented 6 months ago

Overview

Image reference docker/volumes-backup-extension:latest docker/volumes-backup-extension:pr-132
- digest e2688d351d8d c877c5bd905c
- provenance https://github.com/docker/volumes-backup-extension.git#e44e78a16e0f83dee010998c689af405ca0ce27c/commit/e44e78a16e0f83dee010998c689af405ca0ce27c
- vulnerabilities critical: 0 high: 1 medium: 7 low: 0 unspecified: 1 critical: 0 high: 1 medium: 7 low: 0 unspecified: 1
- platform linux/amd64 linux/amd64
- size 40 MB 45 MB (+5.0 MB)
- packages 51 52 (+1)
Base Image busybox:1.35
also known as:
1.35-uclibc
1.35.0
1.35.0-uclibc
busybox:1.35
also known as:
1.35-uclibc
1.35.0
1.35.0-uclibc
- vulnerabilities critical: 0 high: 0 medium: 0 low: 0 critical: 0 high: 0 medium: 0 low: 0
Environment Variables (2 changes) > * `±` 2 changed > * _1 unchanged_ ```diff -BUGSNAG_APP_VERSION= +BUGSNAG_APP_VERSION=latest -BUGSNAG_RELEASE_STAGE=production +BUGSNAG_RELEASE_STAGE=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ```
Labels (3 changes) > * `-` 2 removed > * `±` 1 changed > * _10 unchanged_ ```diff com.docker.desktop.extension.api.version=>= 0.2.3 com.docker.desktop.extension.icon=https://raw.githubusercontent.com/docker/volumes-backup-extension/main/icon.svg com.docker.extension.additional-urls=[ {"title":"Support", "url":"https://github.com/docker/volumes-backup-extension/issues"} ] com.docker.extension.categories=volumes -com.docker.extension.changelog=
  • Fixed current image vulnerabilities (CVEs) using Docker Scout.
+com.docker.extension.changelog=
  • Fix MUI missing license.
com.docker.extension.detailed-description=

The functionality in this extension is now available as a Beta feature in the Volumes tab in Docker Desktop versions 4.29.0 and later. This extension will be deprecated once the features are out of Beta. Learn more

With Volumes Backup & Share you can easily create copies of your volumes and also share them with others through SSH or pushing them to a registry.

✨ What can you do with this extension?

  • Export a volume:
    • To a compressed file in your local filesystem
    • To an existing local image
    • To a new local image
    • To a new image in Docker Hub (or another registry)
  • Import data into a new container or into an existing container:
    • From a compressed file in your local filesystem
    • From an existing image
    • From an existing image in Docker Hub (or another registry)
  • Transfer a volume via SSH to another host that runs Docker Desktop or Docker engine.
  • Clone, empty or delete a volume

Acknowledgements

  • Vackup project by Bret Fisher
  • Building Vackup - LiveStream on YouTube
    • com.docker.extension.publisher-url=https://www.docker.com/ com.docker.extension.screenshots=[ {"alt": "Home page - list of volumes", "url": "https://raw.githubusercontent.com/docker/volumes-backup-extension/main/docs/images/1-table.png"}, {"alt": "Import data into a new volume", "url": "https://raw.githubusercontent.com/docker/volumes-backup-extension/main/docs/images/2-import-new.png"}, {"alt": "Export volume dialog", "url": "https://raw.githubusercontent.com/docker/volumes-backup-extension/main/docs/images/3-export.png"}, {"alt": "Transfer volume to another host", "url": "https://raw.githubusercontent.com/docker/volumes-backup-extension/main/docs/images/4-transfer.png"}, {"alt": "Clone volume dialog", "url": "https://raw.githubusercontent.com/docker/volumes-backup-extension/main/docs/images/5-clone.png"}, {"alt": "Delete volume dialog", "url": "https://raw.githubusercontent.com/docker/volumes-backup-extension/main/docs/images/6-delete.png"} ] org.opencontainers.image.description=Backup, clone, restore, and share Docker volumes effortlessly. Also available as a Beta feature in the Volumes tab in Docker Desktop version 4.29.0 and later. This extension will be soon deprecated. -org.opencontainers.image.revision=e44e78a16e0f83dee010998c689af405ca0ce27c -org.opencontainers.image.source=https://github.com/docker/volumes-backup-extension org.opencontainers.image.title=Volumes Backup & Share org.opencontainers.image.vendor=Docker Inc. ```
Policies (1 improved, 1 worsened, 1 missing data) | Policy Name | `docker/volumes-backup-extension:latest` | `docker/volumes-backup-extension:pr-132` | Change | Standing | |-------------|---------------|--------------------|--------|---| |Copyleft licenses | :white_check_mark: | :white_check_mark: | | No Change | |Default non-root user | :warning: | :warning: | | No Change | |Fixable critical and high vulnerabilities | :warning: 1 | :warning: 1 | | No Change | |High-profile vulnerabilities | :warning: 1 | :white_check_mark: | -1 | Improved | |Outdated base images | :white_check_mark: | :question: No data | | | |Supply chain attestations | :white_check_mark: | :warning: 2 | +2 | Worsened |
Packages and Vulnerabilities (1 package changes and 0 vulnerability changes) > * :infinity: 1 packages changed > * 49 packages unchanged
Changes for packages of type golang (1 changes)
Package Version
docker/volumes-backup-extension:latest
Version
docker/volumes-backup-extension:pr-132
:infinity: stdlib 1.21.9 go1.21.9