Affected by GO-2022-0390
and 8 other vulnerabilities
GO-2022-0390: Moby (Docker Engine) started with non-empty inheritable Linux process capabilities in github.com/docker/docker
GO-2024-2914: Moby (Docker Engine) is vulnerable to Ambiguous OCI manifest parsing in github.com/docker/docker
GO-2024-3304: Moby Race Condition vulnerability in github.com/moby/moby
GO-2024-3305: Moby Race Condition vulnerability in github.com/moby/moby
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
GO-2026-5617: Docker: Race condition in docker cp allows bind mount redirection to host path in github.com/docker/docker
GO-2026-5668: Docker: Race condition in docker cp allows creation of arbitrary empty files on the host via symlink swap in github.com/docker/docker
GO-2026-5746: Docker: `PUT /containers/{id}/archive` executes container binary on the host in github.com/docker/docker
package
Version:
v17.11.0-ce+incompatible
Opens a new window with list of versions in this module.
Published: Mar 23, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
This package provides helper functions for dealing with strings
Documentation
¶
Package stringutils provides helper functions for dealing with strings.
Ellipsis truncates a string to fit within maxlen, and appends ellipsis (...).
For maxlen of 3 and lower, no ellipsis is appended.
GenerateRandomASCIIString generates an ASCII random string with length n.
InSlice tests whether a string is contained in a slice of strings or not.
Comparison is case insensitive
ShellQuoteArguments takes a list of strings and escapes them so they will be
handled right when passed as arguments to a program via a shell
Truncate truncates a string to maxlen.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.