Affected by GO-2022-0390
and 9 other vulnerabilities
GO-2022-0390: Moby (Docker Engine) started with non-empty inheritable Linux process capabilities in github.com/docker/docker
GO-2022-0985: Docker supplementary group permissions not set up properly, allowing attackers to bypass primary group restrictions in github.com/docker/docker
GO-2022-1107: Container build can leak any path on the host into the container in github.com/docker/docker
GO-2023-1699: Docker Swarm encrypted overlay network may be unauthenticated in github.com/docker/docker
GO-2023-1700: Docker Swarm encrypted overlay network traffic may be unencrypted in github.com/docker/docker
GO-2023-1701: Docker Swarm encrypted overlay network with a single endpoint is unauthenticated in github.com/docker/docker
GO-2024-2914: Moby (Docker Engine) is vulnerable to Ambiguous OCI manifest parsing in github.com/docker/docker
GO-2025-3829: Moby firewalld reload removes bridge network isolation in github.com/docker/docker
GO-2026-4883: Moby has an Off-by-one error in its plugin privilege validation in github.com/docker/docker
GO-2026-4887: Moby has AuthZ plugin bypass when provided oversized request bodies in github.com/docker/docker
GetTimestamp tries to parse given string as golang duration,
then RFC3339 time and finally as a Unix timestamp. If
any of these were successful, it returns a Unix timestamp
as string otherwise returns the given value back.
In case of duration input, the returned timestamp is computed
as the given reference time minus the amount of the duration.
ParseTimestamps returns seconds and nanoseconds from a timestamp that has the
format "%d.%09d", time.Unix(), int64(time.Nanosecond()))
if the incoming nanosecond portion is longer or shorter than 9 digits it is
converted to nanoseconds. The expectation is that the seconds and
seconds will be used to create a time variable. For example:
seconds, nanoseconds, err := ParseTimestamp("1136073600.000000001",0)
if err == nil since := time.Unix(seconds, nanoseconds)
returns seconds as def(aultSeconds) if value == ""