You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@yunikorn.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2023/04/19 20:36:45 UTC

[GitHub] [yunikorn-k8shim] dependabot[bot] opened a new pull request, #573: Bump github.com/opencontainers/runc from 1.0.2 to 1.1.5

dependabot[bot] opened a new pull request, #573:
URL: https://github.com/apache/yunikorn-k8shim/pull/573

   Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.0.2 to 1.1.5.
   <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.5 -- &quot;囚われた屈辱は 反撃の嚆矢だ&quot;</h2>
   <p>This is the fifth patch release in the 1.1.z series of runc, which fixes
   three CVEs found in runc.</p>
   <ul>
   <li>
   <p>CVE-2023-25809 is a vulnerability involving rootless containers where
   (under specific configurations), the container would have write access
   to the /sys/fs/cgroup/user.slice/... cgroup hierarchy. No other
   hierarchies on the host were affected. This vulnerability was
   discovered by Akihiro Suda.
   <a href="https://github.com/opencontainers/runc/security/advisories/GHSA-m8cg-xc2p-r3fc">https://github.com/opencontainers/runc/security/advisories/GHSA-m8cg-xc2p-r3fc</a></p>
   </li>
   <li>
   <p>CVE-2023-27561 was a regression which effectively re-introduced
   CVE-2019-19921. This bug was present from v1.0.0-rc95 to v1.1.4. This
   regression was discovered by <a href="https://github.com/Beuc"><code>@​Beuc</code></a>.
   <a href="https://github.com/advisories/GHSA-vpvm-3wq2-2wvm">https://github.com/advisories/GHSA-vpvm-3wq2-2wvm</a></p>
   </li>
   <li>
   <p>CVE-2023-28642 is a variant of CVE-2023-27561 and was fixed by the same
   patch. This variant of the above vulnerability was reported by Lei
   Wang.
   <a href="https://github.com/opencontainers/runc/security/advisories/GHSA-g2j6-57v7-gm8c">https://github.com/opencontainers/runc/security/advisories/GHSA-g2j6-57v7-gm8c</a></p>
   </li>
   </ul>
   <p>In addition, the following other fixes are included in this release:</p>
   <ul>
   <li>Fix the inability to use <code>/dev/null</code> when inside a container. (<a href="https://redirect.github.com/opencontainers/runc/issues/3620">#3620</a>)</li>
   <li>Fix changing the ownership of host's <code>/dev/null</code> caused by fd redirection
   (a regression in 1.1.1). (<a href="https://redirect.github.com/opencontainers/runc/issues/3674">#3674</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/3731">#3731</a>)</li>
   <li>Fix rare runc exec/enter unshare error on older kernels, including
   CentOS &lt; 7.7. (<a href="https://redirect.github.com/opencontainers/runc/issues/3776">#3776</a>)</li>
   <li>nsexec: Check for errors in <code>write_log()</code>. (<a href="https://redirect.github.com/opencontainers/runc/issues/3721">#3721</a>)</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 -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a href="https://github.com/opencontainers/runc/blob/main/CHANGELOG.md">github.com/opencontainers/runc's changelog</a>.</em></p>
   <blockquote>
   <h2>[1.1.5] - 2023-03-29</h2>
   <blockquote>
   <p>囚われた屈辱は
   反撃の嚆矢だ</p>
   </blockquote>
   <h3>Security</h3>
   <p>The following CVEs were fixed in this release:</p>
   <ul>
   <li>
   <p><a href="https://github.com/opencontainers/runc/security/advisories/GHSA-m8cg-xc2p-r3fc">CVE-2023-25809</a> is a vulnerability involving rootless containers where
   (under specific configurations), the container would have write access to the
   <code>/sys/fs/cgroup/user.slice/...</code> cgroup hierarchy. No other hierarchies on the
   host were affected. This vulnerability was discovered by Akihiro Suda.</p>
   </li>
   <li>
   <p><a href="https://github.com/advisories/GHSA-vpvm-3wq2-2wvm">CVE-2023-27561</a> was a regression in our protections against tricky <code>/proc</code>
   and <code>/sys</code> configurations (where the container mountpoint is a symlink)
   causing us to be tricked into incorrectly configuring the container, which
   effectively re-introduced <a href="https://github.com/advisories/GHSA-fh74-hm69-rqjw">CVE-2019-19921</a>. This regression was present
   from v1.0.0-rc95 to v1.1.4 and was discovered by <a href="https://github.com/Beuc"><code>@​Beuc</code></a>. (<a href="https://redirect.github.com/opencontainers/runc/issues/3785">#3785</a>)</p>
   </li>
   <li>
   <p><a href="https://github.com/opencontainers/runc/security/advisories/GHSA-g2j6-57v7-gm8c">CVE-2023-28642</a> is a different attack vector using the same regression
   as in <a href="https://github.com/advisories/GHSA-vpvm-3wq2-2wvm">CVE-2023-27561</a>. This was reported by Lei Wang.</p>
   </li>
   </ul>
   <h3>Fixed</h3>
   <ul>
   <li>Fix the inability to use <code>/dev/null</code> when inside a container. (<a href="https://redirect.github.com/opencontainers/runc/issues/3620">#3620</a>)</li>
   <li>Fix changing the ownership of host's <code>/dev/null</code> caused by fd redirection
   (a regression in 1.1.1). (<a href="https://redirect.github.com/opencontainers/runc/issues/3674">#3674</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/3731">#3731</a>)</li>
   <li>Fix rare runc exec/enter unshare error on older kernels, including
   CentOS &lt; 7.7. (<a href="https://redirect.github.com/opencontainers/runc/issues/3776">#3776</a>)</li>
   <li>nsexec: Check for errors in <code>write_log()</code>. (<a href="https://redirect.github.com/opencontainers/runc/issues/3721">#3721</a>)</li>
   <li>Various CI fixes and updates. (<a href="https://redirect.github.com/opencontainers/runc/issues/3618">#3618</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/3630">#3630</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/3640">#3640</a>, <a href="https://redirect.github.com/opencontainers/runc/issues/3729">#3729</a>)</li>
   </ul>
   <h2>[1.1.4] - 2022-08-24</h2>
   <blockquote>
   <p>If you look for perfection, you'll never be content.</p>
   </blockquote>
   <h3>Fixed</h3>
   <ul>
   <li>Fix mounting via wrong proc fd.
   When the user and mount namespaces are used, and the bind mount is followed by
   the cgroup mount in the spec, the cgroup was mounted using the bind mount's
   mount fd. (<a href="https://redirect.github.com/opencontainers/runc/issues/3511">#3511</a>)</li>
   <li>Switch <code>kill()</code> in <code>libcontainer/nsenter</code> to <code>sane_kill()</code>. (<a href="https://redirect.github.com/opencontainers/runc/issues/3536">#3536</a>)</li>
   <li>Fix &quot;permission denied&quot; error from <code>runc run</code> on <code>noexec</code> fs. (<a href="https://redirect.github.com/opencontainers/runc/issues/3541">#3541</a>)</li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/opencontainers/runc/commit/f19387a6bec4944c770f7668ab51c4348d9c2f38"><code>f19387a</code></a> VERSION: release v1.1.5</li>
   <li><a href="https://github.com/opencontainers/runc/commit/58a9abee210c5a72ab10904f96e0026f684f24e3"><code>58a9abe</code></a> Merge pull request from GHSA-m8cg-xc2p-r3fc</li>
   <li><a href="https://github.com/opencontainers/runc/commit/27fb72c7ffdbd509b3c15b2bdb4df3d2192bfe7b"><code>27fb72c</code></a> merge branch 'pr-3776' into release-1.1</li>
   <li><a href="https://github.com/opencontainers/runc/commit/8ec02ea1b14edac85a6e9a2b622ae44e15e11ccd"><code>8ec02ea</code></a> nsexec: retry unshare on EINVAL</li>
   <li><a href="https://github.com/opencontainers/runc/commit/059d7730fc102052c90fea52c7b3c6f04fbbc487"><code>059d773</code></a> merge branch 'pr-3785' into release-1.1</li>
   <li><a href="https://github.com/opencontainers/runc/commit/0abab45c9b97c113ff2cdc16f3a7388444c3fbec"><code>0abab45</code></a> Prohibit /proc and /sys to be symlinks</li>
   <li><a href="https://github.com/opencontainers/runc/commit/0e6b818a2b0d24fdb6697614e5c5f115bbe8e3a5"><code>0e6b818</code></a> rootless: fix /sys/fs/cgroup mounts</li>
   <li><a href="https://github.com/opencontainers/runc/commit/c6781d100a73d2dcef84e9376d85fff02235a2ed"><code>c6781d1</code></a> Merge pull request <a href="https://redirect.github.com/opencontainers/runc/issues/3721">#3721</a> from kinvolk/rata/nsfixes-backport</li>
   <li><a href="https://github.com/opencontainers/runc/commit/f6e2cd3baf661e1f377088e13084ccb5aadf41e6"><code>f6e2cd3</code></a> nsexec: Check for errors in write_log()</li>
   <li><a href="https://github.com/opencontainers/runc/commit/3775df9fcb7828594114866e1df346f44d22ad16"><code>3775df9</code></a> Merge pull request <a href="https://redirect.github.com/opencontainers/runc/issues/3731">#3731</a> from kolyshkin/1.1-fix-dev-null</li>
   <li>Additional commits viewable in <a href="https://github.com/opencontainers/runc/compare/v1.0.2...v1.1.5">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.0.2&new-version=1.1.5)](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 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/apache/yunikorn-k8shim/network/alerts).
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@yunikorn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [yunikorn-k8shim] craigcondit closed pull request #573: Bump github.com/opencontainers/runc from 1.0.2 to 1.1.5

Posted by "craigcondit (via GitHub)" <gi...@apache.org>.
craigcondit closed pull request #573: Bump github.com/opencontainers/runc from 1.0.2 to 1.1.5
URL: https://github.com/apache/yunikorn-k8shim/pull/573


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@yunikorn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [yunikorn-k8shim] dependabot[bot] commented on pull request #573: Bump github.com/opencontainers/runc from 1.0.2 to 1.1.5

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #573:
URL: https://github.com/apache/yunikorn-k8shim/pull/573#issuecomment-1516810908

   OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@yunikorn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [yunikorn-k8shim] codecov[bot] commented on pull request #573: Bump github.com/opencontainers/runc from 1.0.2 to 1.1.5

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #573:
URL: https://github.com/apache/yunikorn-k8shim/pull/573#issuecomment-1515368848

   ## [Codecov](https://codecov.io/gh/apache/yunikorn-k8shim/pull/573?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#573](https://codecov.io/gh/apache/yunikorn-k8shim/pull/573?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (502bb8f) into [master](https://codecov.io/gh/apache/yunikorn-k8shim/commit/2203ad817711c3b68f30f4f377dc6c7933a3dd0a?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (2203ad8) will **not change** coverage.
   > The diff coverage is `n/a`.
   
   ```diff
   @@           Coverage Diff           @@
   ##           master     #573   +/-   ##
   =======================================
     Coverage   69.92%   69.92%           
   =======================================
     Files          47       47           
     Lines        7928     7928           
   =======================================
     Hits         5544     5544           
     Misses       2177     2177           
     Partials      207      207           
   ```
   
   
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@yunikorn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org