libssl3 3.5.5-r0 (apk)
pkg:apk/alpine/libssl3@3.5.5-r0?arch=x86_64&distro=alpine-3.23.3&upstream=openssl
# api-server.Dockerfile (29:29)
FROM ${ALPINE_IMAGE}

| Affected range | <3.5.6-r0 | | Fixed version | 3.5.6-r0 | | EPSS Score | 0.006% | | EPSS Percentile | 0th percentile |
Description

| Affected range | <3.5.6-r0 | | Fixed version | 3.5.6-r0 | | EPSS Score | 0.043% | | EPSS Percentile | 13th percentile |
Description

| Affected range | <3.5.6-r0 | | Fixed version | 3.5.6-r0 | | EPSS Score | 0.035% | | EPSS Percentile | 10th percentile |
Description

| Affected range | <3.5.6-r0 | | Fixed version | 3.5.6-r0 | | EPSS Score | 0.085% | | EPSS Percentile | 24th percentile |
Description

| Affected range | <3.5.6-r0 | | Fixed version | 3.5.6-r0 | | EPSS Score | 0.085% | | EPSS Percentile | 24th percentile |
Description

| Affected range | <3.5.6-r0 | | Fixed version | 3.5.6-r0 | | EPSS Score | 0.034% | | EPSS Percentile | 10th percentile |
Description

| Affected range | <3.5.6-r0 | | Fixed version | 3.5.6-r0 | | EPSS Score | 0.022% | | EPSS Percentile | 6th percentile |
Description
|
libcurl 8.17.0-r1 (apk)
pkg:apk/alpine/libcurl@8.17.0-r1?arch=x86_64&distro=alpine-3.23.3&upstream=curl
# api-server.Dockerfile (30:30)
RUN apk --no-cache add ca-certificates libssl3 git

| Affected range | <=8.17.0-r1 | | Fixed version | Not Fixed | | EPSS Score | 0.019% | | EPSS Percentile | 5th percentile |
Description

| Affected range | <=8.17.0-r1 | | Fixed version | Not Fixed | | EPSS Score | 0.025% | | EPSS Percentile | 7th percentile |
Description

| Affected range | <8.19.0-r0 | | Fixed version | 8.19.0-r0 | | EPSS Score | 0.030% | | EPSS Percentile | 9th percentile |
Description

| Affected range | <=8.17.0-r1 | | Fixed version | Not Fixed | | EPSS Score | 0.049% | | EPSS Percentile | 15th percentile |
Description

| Affected range | <8.19.0-r0 | | Fixed version | 8.19.0-r0 | | EPSS Score | 0.023% | | EPSS Percentile | 7th percentile |
Description

| Affected range | <8.19.0-r0 | | Fixed version | 8.19.0-r0 | | EPSS Score | 0.073% | | EPSS Percentile | 22nd percentile |
Description

| Affected range | <8.19.0-r0 | | Fixed version | 8.19.0-r0 | | EPSS Score | 0.010% | | EPSS Percentile | 1st percentile |
Description

| Affected range | <=8.17.0-r1 | | Fixed version | Not Fixed | | EPSS Score | 0.041% | | EPSS Percentile | 12th percentile |
Description

| Affected range | <=8.17.0-r1 | | Fixed version | Not Fixed | | EPSS Score | 0.018% | | EPSS Percentile | 5th percentile |
Description

| Affected range | <=8.17.0-r1 | | Fixed version | Not Fixed | | EPSS Score | 0.079% | | EPSS Percentile | 23rd percentile |
Description

| Affected range | <=8.17.0-r1 | | Fixed version | Not Fixed | | EPSS Score | 0.013% | | EPSS Percentile | 2nd percentile |
Description

| Affected range | <=8.17.0-r1 | | Fixed version | Not Fixed | | EPSS Score | 0.028% | | EPSS Percentile | 8th percentile |
Description

| Affected range | <8.19.0-r0 | | Fixed version | 8.19.0-r0 | | EPSS Score | 0.024% | | EPSS Percentile | 7th percentile |
Description

| Affected range | <8.19.0-r0 | | Fixed version | 8.19.0-r0 | | EPSS Score | 0.061% | | EPSS Percentile | 19th percentile |
Description

| Affected range | <8.19.0-r0 | | Fixed version | 8.19.0-r0 | | EPSS Score | 0.040% | | EPSS Percentile | 12th percentile |
Description
|
github.com/docker/docker 28.5.2+incompatible (golang)
pkg:golang/github.com/docker/docker@28.5.2%2Bincompatible
# api-server.Dockerfile (32:32)
COPY --from=build /app /bin/app
Authentication Bypass Using an Alternate Path or Channel
| Affected range | <29.3.1 | | Fixed version | 29.3.1 | | CVSS Score | 8.8 | | CVSS Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | | EPSS Score | 0.009% | | EPSS Percentile | 1st percentile |
Description
Summary
A security vulnerability has been detected that allows attackers to bypass authorization plugins (AuthZ) under specific circumstances. The base likelihood of this being exploited is low.
This is an incomplete fix for CVE-2024-41110.
Impact
If you don't use AuthZ plugins, you are not affected.
Using a specially-crafted API request, an attacker could make the Docker daemon forward the request to an authorization plugin without the body. The authorization plugin may allow a request which it would have otherwise denied if the body had been forwarded to it.
Anyone who depends on authorization plugins that introspect the request body to make access control decisions is potentially impacted.
Workarounds
If unable to update immediately:
- Avoid using AuthZ plugins that rely on request body inspection for security decisions.
- Restrict access to the Docker API to trusted parties, following the principle of least privilege.
Credits
Resources
Time-of-check Time-of-use (TOCTOU) Race Condition
| Affected range | <=28.5.2 | | Fixed version | Not Fixed | | CVSS Score | 7.2 | | CVSS Vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H |
Description
Summary
A race condition during docker cp mount setup allows a malicious container to redirect a bind mount target to an arbitrary host path, potentially overwriting host files or causing denial of service.
Details
When copying files into a container, the daemon sets up a temporary filesystem view by bind-mounting volumes into a private mount namespace. During this setup, the mount destination is created inside the container root and then a bind mount is attached using the container-relative path resolved to an absolute host path.
Between mountpoint creation and the mount() syscall, a process running inside the container can replace the destination (or a parent path component) with a symlink pointing to an arbitrary location on the host. The mount() syscall follows the symlink, causing the volume to be bind-mounted onto an arbitrary host path instead of the intended container path.
Impact
A malicious container can redirect a volume bind mount to an arbitrary host path. The impact depends on the volume content and mount options:
- If the volume is writable, arbitrary host files at the redirected path could be overwritten with the volume's contents.
- If the volume is read-only, the host path is masked by the mount for the duration of the operation, causing denial of service.
- In all cases the mount is temporary (torn down after the
docker cp completes), but the effects of any writes persist.
Conditions for exploitation
- A container must have at least one volume mount.
- A process inside the container must be able to rapidly create and swap symlinks at the volume mount destination path.
- An operator must initiate a
docker cp into that container, or call the PUT /containers/{id}/archive or HEAD /containers/{id}/archive API endpoints.
Not affected
- Containers that do not have volume mounts are not affected, as the race occurs during volume bind-mount setup.
Workarounds
- Only run containers from trusted images.
- Avoid using
docker cp with untrusted running containers.
- Use authorization plugins to restrict access to the archive API endpoints (
PUT /containers/{id}/archive, HEAD /containers/{id}/archive).
Uncontrolled Search Path Element
| Affected range | <=28.5.2 | | Fixed version | Not Fixed | | CVSS Score | 7.2 | | CVSS Vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N |
Description
Summary
When a user uploads a compressed archive into a container, a malicious image can execute arbitrary code with daemon (host root) privileges.
Details
When handling PUT /containers/{id}/archive requests with compressed archives, the daemon decompresses them using external system binaries. Due to incorrect ordering of operations, these binaries are resolved from the container's filesystem rather than the host's. A container image that includes a trojanized decompression binary can achieve code execution as the daemon process whenever a compressed archive is uploaded to that container.
The executed binary runs with the daemon's full privileges, including host root UID and unrestricted capabilities.
Impact
Arbitrary code execution as host root, crossing the container-to-host trust boundary.
Conditions for exploitation
- A user must run a container from a malicious image that contains a trojanized decompression binary.
- The user must then upload a compressed archive (xz or gzip) into that container, either by piping a compressed archive via
docker cp - or by calling the PUT /containers/{id}/archive API directly with compressed content.
Not affected
Standard docker cp usage is not affected, because the CLI sends uncompressed tar by default:
docker cp ./file.txt mycontainer:/file.txt
This can only be exploited when explicitly passing a xz or gzip-compressed archive to docker cp or the PUT /containers/{id}/archive API, for example:
cat archive.tar.xz | docker cp - mycontainer:/dir
Decompression formats using pure Go implementations (bzip2, zstd, and gzip when the container image does not contain an unpigz binary) are also not affected.
Workarounds
- Only run containers from trusted images.
- Use authorization plugins to limit access to the
PUT /containers/{id}/archive endpoint.
- Avoid piping compressed archives into containers created from untrusted images.
Off-by-one Error
| Affected range | <29.3.1 | | Fixed version | Not Fixed | | CVSS Score | 6.8 | | CVSS Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N | | EPSS Score | 0.016% | | EPSS Percentile | 4th percentile |
Description
Summary
A security vulnerability has been detected that allows plugins privilege validation to be bypassed during docker plugin install. Due to an error in the daemon's privilege comparison logic, the daemon may incorrectly accept a privilege set that differs from the one approved by the user.
Plugins that request exactly one privilege are also affected, because no comparison is performed at all.
Impact
If plugins are not in use, there is no impact.
When a plugin is installed, the daemon computes the privileges required by the plugin's configuration and compares them with the privileges approved during installation. A malicious plugin can exploit this bug so that the daemon accepts privileges that differ from what was intended to be approved.
Anyone who depends on the plugin installation approval flow as a meaningful security boundary is potentially impacted.
Depending on the privilege set involved, this may include highly sensitive plugin permissions such as broad device access.
For consideration: exploitation still requires a plugin to be installed from a malicious source, and Docker plugins are relatively uncommon. Docker Desktop also does not support plugins.
Workarounds
If unable to update immediately:
- Do not install plugins from untrusted sources
- Carefully review all privileges requested during
docker plugin install
- Restrict access to the Docker daemon to trusted parties, following the principle of least privilege
- Avoid relying on plugin privilege approval as the only control boundary for sensitive environments
Credits
Time-of-check Time-of-use (TOCTOU) Race Condition
| Affected range | <=28.5.2 | | Fixed version | Not Fixed | | CVSS Score | 6.1 | | CVSS Vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:H |
Description
Summary
A race condition during docker cp mount setup allows a malicious container to create empty files or directories at arbitrary absolute paths on the host filesystem.
This advisory covers the race during mountpoint creation. The related race during the subsequent mount syscall is tracked in GHSA-rg2x-37c3-w2rh
Details
When copying files into a container, the daemon sets up a temporary filesystem view by bind-mounting volumes into a private mount namespace. During this setup, the mount destination path is first resolved within the container's root filesystem using GetResourcePath, and then used to create the mountpoint (file or directory) if it does not already exist via createIfNotExists.
Between path resolution and mountpoint creation, a process running inside the container can swap a path component for a symlink pointing to an arbitrary location on the host. Because createIfNotExists operates on the already-resolved absolute path using standard os.MkdirAll and os.OpenFile — which follow symlinks in intermediate path components — the symlink is followed and the file or directory is created outside the container root filesystem, as root.
Impact
A malicious container can create empty files or directories at arbitrary absolute paths on the host filesystem, running as root. This enables persistent denial of service — for example:
- Converting
/etc/docker/daemon.json into a directory prevents the daemon from restarting
- Creating
/etc/nologin prevents user logins
- Overwriting critical system paths with empty files can break host services
The container does not gain read or write access to existing host files — only the ability to create new empty files or directories at chosen paths.
Conditions for exploitation
- A container must be running with a process that can rapidly create and swap symlinks at a volume mount destination path.
- An operator must initiate a
docker cp into that container, or call the PUT /containers/{id}/archive or HEAD /containers/{id}/archive API endpoints.
Not affected
- Containers that do not have volume mounts are not affected, as the race occurs during volume bind-mount setup.
Patches
Mountpoint creation is now scoped to the container root using os.Root (Go 1.24+), which refuses to follow symlinks that escape the opened root directory. All filesystem operations in createIfNotExists (MkdirAll, OpenFile) are performed through the os.Root handle, so even if a symlink swap occurs after path resolution, the creation stays confined to the container root.
Workarounds
- Only run containers from trusted images.
- Avoid using
docker cp with untrusted running containers.
- Use authorization plugins to restrict access to the archive API endpoints (
PUT /containers/{id}/archive, HEAD /containers/{id}/archive).
|
musl 1.2.5-r21 (apk)
pkg:apk/alpine/musl@1.2.5-r21?arch=x86_64&distro=alpine-3.23.3
# api-server.Dockerfile (29:29)
FROM ${ALPINE_IMAGE}

| Affected range | <1.2.5-r23 | | Fixed version | 1.2.5-r23 | | EPSS Score | 0.020% | | EPSS Percentile | 6th percentile |
Description

| Affected range | <1.2.5-r22 | | Fixed version | 1.2.5-r22 | | EPSS Score | 0.017% | | EPSS Percentile | 4th percentile |
Description
|
github.com/docker/cli 29.4.0+incompatible (golang)
pkg:golang/github.com/docker/cli@29.4.0%2Bincompatible
# api-server.Dockerfile (32:32)
COPY --from=build /app /bin/app

| Affected range | >=19.03.0+incompatible | | Fixed version | Not Fixed | | EPSS Score | 0.023% | | EPSS Percentile | 6th percentile |
Description
Docker CLI Plugins: Uncontrolled Search Path Element Leads to Local Privilege Escalation on Windows in github.com/docker/cli
|
git 2.52.0-r0 (apk)
pkg:apk/alpine/git@2.52.0-r0?arch=x86_64&distro=alpine-3.23.3
# api-server.Dockerfile (30:30)
RUN apk --no-cache add ca-certificates libssl3 git

| Affected range | <=2.52.0-r0 | | Fixed version | Not Fixed | | EPSS Score | 0.058% | | EPSS Percentile | 18th percentile |
Description
|
zlib 1.3.1-r2 (apk)
pkg:apk/alpine/zlib@1.3.1-r2?arch=x86_64&distro=alpine-3.23.3
# api-server.Dockerfile (29:29)
FROM ${ALPINE_IMAGE}

| Affected range | <1.3.2-r0 | | Fixed version | 1.3.2-r0 | | EPSS Score | 0.008% | | EPSS Percentile | 1st percentile |
Description

| Affected range | <1.3.2-r0 | | Fixed version | 1.3.2-r0 | | EPSS Score | 0.009% | | EPSS Percentile | 1st percentile |
Description
|
github.com/gofiber/fiber/v2 2.52.12 (golang)
pkg:golang/github.com/gofiber/fiber/v2@2.52.12
# api-server.Dockerfile (32:32)
COPY --from=build /app /bin/app
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Affected range | <=2.52.12 | | Fixed version | 2.52.13 | | CVSS Score | 5.3 | | CVSS Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | | EPSS Score | 0.040% | | EPSS Percentile | 12th percentile |
Description
Summary
Description
A Cross-Site Scripting (CWE-79) vulnerability in Go Fiber allows a remote attacker to inject arbitrary HTML/JavaScript by supplying Accept: text/html on any request whose handler passes attacker-influenced data to the AutoFormat() feature. This affects github.com/gofiber/fiber/v3 (DefaultRes.AutoFormat) through version 3.1.0 and github.com/gofiber/fiber/v2 (Ctx.Format) through version 2.52.12.
The developer opts into content negotiation by calling AutoFormat(), but does not opt into raw HTML emission for a particular request; Fiber chooses that branch from attacker-controlled Accept. Five of the six branches of the same method already escape. JSON, XML, MsgPack, and CBOR all route through encoders that neutralize markup; the txt branch emits text/plain and cannot execute. The html branch is the sole outlier in a method whose name (AutoFormat) and symmetrical structure actively telegraph "safe, format-agnostic reply."
Details
The issue resides in res.go within (*DefaultRes).AutoFormat(). The method negotiates against the request Accept header, selects one of html | json | txt | xml | msgpack | cbor, and serializes the caller-supplied body accordingly.
The "html" branch concatenates the stringified body directly into HTML markup with no output encoding:
accept comes from r.c.Accepts(...), i.e. is fully attacker-controlled. An attacker can force the "html" branch on any AutoFormat() call regardless of which format the developer tested against.
b is produced from body via direct assignment (string / []byte) or fmt.Sprintf("%v", body). No html.EscapeString is applied.
- The resulting string is sent as
text/html; charset=utf-8, so browsers render it as active HTML.
func (r *DefaultRes) AutoFormat(body any) error {
accept := r.c.DefaultReq.Accepts("html", "json", "txt", "xml", "msgpack", "cbor")
r.Type(accept)
var b string
switch val := body.(type) {
case string:
b = val
case []byte:
b = r.c.app.toString(val)
default:
b = fmt.Sprintf("%v", val)
}
switch accept {
case "txt":
return r.SendString(b)
case "json":
return r.JSON(body)
case "xml":
return r.XML(body)
case "html":
return r.SendString("<p>" + b + "</p>")
case "msgpack":
return r.MsgPack(body)
case "cbor":
return r.CBOR(body)
}
return r.SendString(b)
}
Impact
This impacts all current v3 releases ≤ 3.1.0 containing DefaultRes.AutoFormat, and all current v2 releases ≤ 2.52.12 where the identical "<p>" + b + "</p>" construction exists in (*Ctx).Format(). Exploitation requires that an application call c.AutoFormat(v) where v (or a field stringified by %v) contains request-influenced data.
A handler that uses AutoFormat() to serve multiple representations of the same data can be turned into an HTML XSS sink when the client sends Accept: text/html, even if the developer only tested the JSON path.
This may result in:
- Reflected XSS in the application's origin via any request-derived value reaching
AutoFormat.
- Stored XSS where the reflected value originates from persisted input later passed to
AutoFormat.
Proposed Patch
The injection surface is r.Type("html") followed by r.SendString(b) with unescaped caller data, where it constructs markup on the caller's behalf around a value whose HTML-ness the caller did not declare. A few options:
AutoFormat() should treat body as data, not markup, in the "html" branch and escape it before concatenating it into the framework-generated <p> wrapper. Callers that need raw negotiated HTML should use Format() with an explicit HTML handler.
- Introduce a sibling method that escapes, leave
AutoFormat alone for backward compatibility.
HTML-escape the value in the "html" branch before concatenating it into the <p> wrapper.
import "html"
case "html":
return r.SendString("<p>" + html.EscapeString(b) + "</p>")
html.EscapeString escapes <, >, &, ', ", which is sufficient for an element-text context. Apply the same change to v2's (*Ctx).Format().
Proof of Concept
# Create project directory
mkdir fiber-xss-poc && cd fiber-xss-poc
# Initialize Go module
go mod init fiber-xss-poc
# Install Fiber v3
go get github.com/gofiber/fiber/v3
# Create the PoC file
cat > main.go << 'EOF'
package main
import (
"github.com/gofiber/fiber/v3"
)
type User struct {
ID int `json:"id"`
Name string `json:"name"`
}
func main() {
app := fiber.New()
app.Get("/api/user", func(c fiber.Ctx) error {
user := User{
ID: 1,
Name: c.Query("name", "anonymous"),
}
return c.AutoFormat(user)
})
app.Listen(":3000")
}
EOF
# Run it
go run main.go
}
Benign JSON
curl -s 'http://127.0.0.1:3000/api/user?name=Alice' -H 'Accept: application/json'
{"id":1,"name":"Alice"}
HTML sink enables XSS
curl -s 'http://127.0.0.1:3000/api/user?name=<script>alert(document.domain)</script>' -H 'Accept: text/html'
<p>{1 <script>alert(document.domain)</script>}</p>
|
ssl_client 1.37.0-r30 (apk)
pkg:apk/alpine/ssl_client@1.37.0-r30?arch=x86_64&distro=alpine-3.23.3&upstream=busybox
# api-server.Dockerfile (29:29)
FROM ${ALPINE_IMAGE}

| Affected range | <=1.37.0-r30 | | Fixed version | Not Fixed | | EPSS Score | 0.051% | | EPSS Percentile | 16th percentile |
Description
|