Skip to content

Commit 5e5a238

Browse files
chore(deps): bump github.com/opencontainers/runc from 1.1.10 to 1.1.12 (#109)
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.10 to 1.1.12. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/opencontainers/runc/releases">github.com/opencontainers/runc's releases</a>.</em></p> <blockquote> <h2>runc 1.1.12 -- &quot;Now you're thinking with Portals™!&quot;</h2> <p>This is the twelfth patch release in the 1.1.z release branch of runc. It fixes a high-severity container breakout vulnerability involving leaked file descriptors, and users are strongly encouraged to update as soon as possible.</p> <ul> <li> <p>Fix <a href="https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv">CVE-2024-21626</a>, a container breakout attack that took advantage of a file descriptor that was leaked internally within runc (but never leaked to the container process).</p> <p>In addition to fixing the leak, several strict hardening measures were added to ensure that future internal leaks could not be used to break out in this manner again.</p> <p>Based on our research, while no other container runtime had a similar leak, none had any of the hardening steps we've introduced (and some runtimes would not check for any file descriptors that a calling process may have leaked to them, allowing for container breakouts due to basic user error).</p> </li> </ul> <h3>Static Linking Notices</h3> <p>The <code>runc</code> binary distributed with this release are <em>statically linked</em> with the following <a href="https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html">GNU LGPL-2.1</a> licensed libraries, with <code>runc</code> acting as a &quot;work that uses the Library&quot;:</p> <ul> <li><a href="https://github.com/seccomp/libseccomp">libseccomp</a></li> </ul> <p>The versions of these libraries were not modified from their upstream versions, but in order to comply with the LGPL-2.1 (§6(a)), we have attached the complete source code for those libraries which (when combined with the attached runc source code) may be used to exercise your rights under the LGPL-2.1.</p> <p>However we strongly suggest that you make use of your distribution's packages or download them from the authoritative upstream sources, especially since these libraries are related to the security of your containers.</p> <!-- raw HTML omitted --> <p>Thanks to all of the contributors who made this release possible:</p> <ul> <li>Aleksa Sarai <a href="mailto:[email protected]">[email protected]</a></li> <li>hang.jiang <a href="mailto:[email protected]">[email protected]</a></li> <li>lfbzhm <a href="mailto:[email protected]">[email protected]</a></li> </ul> <p>Signed-off-by: Aleksa Sarai <a href="mailto:[email protected]">[email protected]</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/opencontainers/runc/blob/v1.1.12/CHANGELOG.md">github.com/opencontainers/runc's changelog</a>.</em></p> <blockquote> <h2>[1.1.12] - 2024-01-31</h2> <blockquote> <p>Now you're thinking with Portals™!</p> </blockquote> <h3>Security</h3> <ul> <li>Fix <a href="https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv">CVE-2024-21626</a>, a container breakout attack that took advantage of a file descriptor that was leaked internally within runc (but never leaked to the container process). In addition to fixing the leak, several strict hardening measures were added to ensure that future internal leaks could not be used to break out in this manner again. Based on our research, while no other container runtime had a similar leak, none had any of the hardening steps we've introduced (and some runtimes would not check for any file descriptors that a calling process may have leaked to them, allowing for container breakouts due to basic user error).</li> </ul> <h2>[1.1.11] - 2024-01-01</h2> <blockquote> <p>Happy New Year!</p> </blockquote> <h3>Fixed</h3> <ul> <li>Fix several issues with userns path handling. (<a href="https://github.com/opencontainers/runc/issues/4122">#4122</a>, <a href="https://github.com/opencontainers/runc/issues/4124">#4124</a>, <a href="https://github.com/opencontainers/runc/issues/4134">#4134</a>, <a href="https://github.com/opencontainers/runc/issues/4144">#4144</a>)</li> </ul> <h3>Changed</h3> <ul> <li>Support memory.peak and memory.swap.peak in cgroups v2. Add <code>swapOnlyUsage</code> in <code>MemoryStats</code>. This field reports swap-only usage. For cgroupv1, <code>Usage</code> and <code>Failcnt</code> are set by subtracting memory usage from memory+swap usage. For cgroupv2, <code>Usage</code>, <code>Limit</code>, and <code>MaxUsage</code> are set. (<a href="https://github.com/opencontainers/runc/issues/4000">#4000</a>, <a href="https://github.com/opencontainers/runc/issues/4010">#4010</a>, <a href="https://github.com/opencontainers/runc/issues/4131">#4131</a>)</li> <li>build(deps): bump github.com/cyphar/filepath-securejoin. (<a href="https://github.com/opencontainers/runc/issues/4140">#4140</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/opencontainers/runc/commit/51d5e94601ceffbbd85688df1c928ecccbfa4685"><code>51d5e94</code></a> VERSION: release 1.1.12</li> <li><a href="https://github.com/opencontainers/runc/commit/2a4ed3e75b9e80d93d1836a9c4c1ebfa2b78870e"><code>2a4ed3e</code></a> merge 1.1-GHSA-xr7r-f8xq-vfvv into release-1.1</li> <li><a href="https://github.com/opencontainers/runc/commit/e9665f4d606b64bf9c4652ab2510da368bfbd951"><code>e9665f4</code></a> init: don't special-case logrus fds</li> <li><a href="https://github.com/opencontainers/runc/commit/683ad2ff3b01fb142ece7a8b3829de17150cf688"><code>683ad2f</code></a> libcontainer: mark all non-stdio fds O_CLOEXEC before spawning init</li> <li><a href="https://github.com/opencontainers/runc/commit/b6633f48a8c970433737b9be5bfe4f25d58a5aa7"><code>b6633f4</code></a> cgroup: plug leaks of /sys/fs/cgroup handle</li> <li><a href="https://github.com/opencontainers/runc/commit/284ba3057e428f8d6c7afcc3b0ac752e525957df"><code>284ba30</code></a> init: close internal fds before execve</li> <li><a href="https://github.com/opencontainers/runc/commit/fbe3eed1e568a376f371d2ced1b4ac16b7d7adde"><code>fbe3eed</code></a> setns init: do explicit lookup of execve argument early</li> <li><a href="https://github.com/opencontainers/runc/commit/0994249a5ec4e363bfcf9af58a87a722e9a3a31b"><code>0994249</code></a> init: verify after chdir that cwd is inside the container</li> <li><a href="https://github.com/opencontainers/runc/commit/506552a88bd3455e80a9b3829568e94ec0160309"><code>506552a</code></a> Fix File to Close</li> <li><a href="https://github.com/opencontainers/runc/commit/099ff69336840fecf3fc0ab13aab4c3aded640c3"><code>099ff69</code></a> merge <a href="https://github.com/opencontainers/runc/issues/4177">#4177</a> into opencontainers/runc:release-1.1</li> <li>Additional commits viewable in <a href="https://github.com/opencontainers/runc/compare/v1.1.10...v1.1.12">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/opencontainers/runc&package-manager=go_modules&previous-version=1.1.10&new-version=1.1.12)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/opentdf/opentdf-v2-poc/network/alerts). </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 5bb5865 commit 5e5a238

File tree

2 files changed

+8
-106
lines changed

2 files changed

+8
-106
lines changed

go.mod

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ require (
99
github.com/bufbuild/protovalidate-go v0.4.3
1010
github.com/creasty/defaults v1.7.0
1111
github.com/go-chi/cors v1.2.1
12-
github.com/golang-jwt/jwt/v4 v4.5.0
13-
github.com/google/uuid v1.4.0
1412
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.0.1
1513
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.1
14+
github.com/jackc/pgerrcode v0.0.0-20220416144525-469b46aa5efa
1615
github.com/jackc/pgx/v5 v5.5.0
1716
github.com/open-policy-agent/opa v0.59.0
1817
github.com/opentdf/opentdf-v2-poc/sdk v0.0.0-00010101000000-000000000000
@@ -24,6 +23,8 @@ require (
2423
github.com/valyala/fasthttp v1.51.0
2524
google.golang.org/grpc v1.60.1
2625
google.golang.org/protobuf v1.31.0
26+
gopkg.in/yaml.v2 v2.4.0
27+
gotest.tools/v3 v3.5.0
2728
)
2829

2930
require (
@@ -37,42 +38,34 @@ require (
3738
github.com/agnivade/levenshtein v1.1.1 // indirect
3839
github.com/antlr4-go/antlr/v4 v4.13.0 // indirect
3940
github.com/beorn7/perks v1.0.1 // indirect
40-
github.com/bep/godartsass v0.16.0 // indirect
41-
github.com/bep/golibsass v1.1.0 // indirect
4241
github.com/bytecodealliance/wasmtime-go/v3 v3.0.2 // indirect
4342
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
4443
github.com/cespare/xxhash/v2 v2.2.0 // indirect
45-
github.com/cli/safeexec v1.0.0 // indirect
4644
github.com/containerd/containerd v1.7.9 // indirect
4745
github.com/containerd/log v0.1.0 // indirect
48-
github.com/cosmtrek/air v1.49.0 // indirect
4946
github.com/cpuguy83/dockercfg v0.3.1 // indirect
50-
github.com/creack/pty v1.1.18 // indirect
5147
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
5248
github.com/docker/distribution v2.8.2+incompatible // indirect
5349
github.com/docker/docker v24.0.7+incompatible // indirect
5450
github.com/docker/go-connections v0.4.0 // indirect
5551
github.com/docker/go-units v0.5.0 // indirect
56-
github.com/fatih/color v1.14.1 // indirect
5752
github.com/fsnotify/fsnotify v1.7.0 // indirect
5853
github.com/go-ini/ini v1.67.0 // indirect
5954
github.com/go-logr/logr v1.3.0 // indirect
6055
github.com/go-logr/stdr v1.2.2 // indirect
6156
github.com/go-ole/go-ole v1.2.6 // indirect
6257
github.com/gobwas/glob v0.2.3 // indirect
6358
github.com/gogo/protobuf v1.3.2 // indirect
64-
github.com/gohugoio/hugo v0.111.3 // indirect
6559
github.com/google/cel-go v0.18.2 // indirect
60+
github.com/google/go-cmp v0.6.0 // indirect
61+
github.com/google/uuid v1.4.0 // indirect
6662
github.com/gorilla/mux v1.8.1 // indirect
6763
github.com/hashicorp/hcl v1.0.0 // indirect
68-
github.com/jackc/pgerrcode v0.0.0-20220416144525-469b46aa5efa // indirect
6964
github.com/klauspost/compress v1.17.2 // indirect
7065
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect
7166
github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect
7267
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
7368
github.com/magiconair/properties v1.8.7 // indirect
74-
github.com/mattn/go-colorable v0.1.13 // indirect
75-
github.com/mattn/go-isatty v0.0.20 // indirect
7669
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
7770
github.com/mitchellh/mapstructure v1.5.0 // indirect
7871
github.com/moby/locker v1.0.1 // indirect
@@ -82,8 +75,7 @@ require (
8275
github.com/morikuni/aec v1.0.0 // indirect
8376
github.com/opencontainers/go-digest v1.0.0 // indirect
8477
github.com/opencontainers/image-spec v1.1.0-rc5 // indirect
85-
github.com/opencontainers/runc v1.1.10 // indirect
86-
github.com/pelletier/go-toml v1.9.5 // indirect
78+
github.com/opencontainers/runc v1.1.12 // indirect
8779
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
8880
github.com/pkg/errors v0.9.1 // indirect
8981
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
@@ -105,7 +97,6 @@ require (
10597
github.com/stoewer/go-strcase v1.3.0 // indirect
10698
github.com/subosito/gotenv v1.6.0 // indirect
10799
github.com/tchap/go-patricia/v2 v2.3.1 // indirect
108-
github.com/tdewolff/parse/v2 v2.6.5 // indirect
109100
github.com/tklauser/go-sysconf v0.3.12 // indirect
110101
github.com/tklauser/numcpus v0.6.1 // indirect
111102
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
@@ -123,7 +114,6 @@ require (
123114
golang.org/x/tools v0.16.1 // indirect
124115
google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17 // indirect
125116
gopkg.in/ini.v1 v1.67.0 // indirect
126-
gopkg.in/yaml.v2 v2.4.0 // indirect
127117
gopkg.in/yaml.v3 v3.0.1 // indirect
128118
oras.land/oras-go/v2 v2.3.1 // indirect
129119
sigs.k8s.io/yaml v1.4.0 // indirect

0 commit comments

Comments
 (0)