Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] - autoclosed #72

Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 31, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/docker/docker v20.10.26+incompatible -> v20.10.27+incompatible age adoption passing confidence

/sys/devices/virtual/powercap accessible by default to containers

GHSA-jq35-85cj-fj4p

More information

Details

Intel's RAPL (Running Average Power Limit) feature, introduced by the Sandy Bridge microarchitecture, provides software insights into hardware energy consumption. To facilitate this, Intel introduced the powercap framework in Linux kernel 3.13, which reads values via relevant MSRs (model specific registers) and provides unprivileged userspace access via sysfs. As RAPL is an interface to access a hardware feature, it is only available when running on bare metal with the module compiled into the kernel.

By 2019, it was realized that in some cases unprivileged access to RAPL readings could be exploited as a power-based side-channel against security features including AES-NI (potentially inside a SGX enclave) and KASLR (kernel address space layout randomization). Also known as the PLATYPUS attack, Intel assigned CVE-2020-8694 and CVE-2020-8695, and AMD assigned CVE-2020-12912.

Several mitigations were applied; Intel reduced the sampling resolution via a microcode update, and the Linux kernel prevents access by non-root users since 5.10. However, this kernel-based mitigation does not apply to many container-based scenarios:

  • Unless using user namespaces, root inside a container has the same level of privilege as root outside the container, but with a slightly more narrow view of the system
  • sysfs is mounted inside containers read-only; however only read access is needed to carry out this attack on an unpatched CPU

While this is not a direct vulnerability in container runtimes, defense in depth and safe defaults are valuable and preferred, especially as this poses a risk to multi-tenant container environments running directly on affected hardware. This is provided by masking /sys/devices/virtual/powercap in the default mount configuration, and adding an additional set of rules to deny it in the default AppArmor profile.

While sysfs is not the only way to read from the RAPL subsystem, other ways of accessing it require additional capabilities such as CAP_SYS_RAWIO which is not available to containers by default, or perf paranoia level less than 1, which is a non-default kernel tunable.

References

Severity

Moderate

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

docker/docker (github.com/docker/docker)

v20.10.27+incompatible

Compare Source


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner October 31, 2023 01:02
@renovate renovate bot added the security label Oct 31, 2023
@renovate renovate bot changed the title chore(deps): update module github.com/docker/docker to v24 [security] chore(deps): update module github.com/docker/docker to v24 [security] - autoclosed Oct 31, 2023
@renovate renovate bot closed this Oct 31, 2023
@renovate renovate bot deleted the renovate/go-github.com/docker/docker-vulnerability branch October 31, 2023 06:47
@renovate renovate bot changed the title chore(deps): update module github.com/docker/docker to v24 [security] - autoclosed chore(deps): update module github.com/docker/docker to v24 [security] Oct 31, 2023
@renovate renovate bot reopened this Oct 31, 2023
@renovate renovate bot restored the renovate/go-github.com/docker/docker-vulnerability branch October 31, 2023 19:02
@renovate renovate bot force-pushed the renovate/go-github.com/docker/docker-vulnerability branch from cb5263a to e739ab8 Compare October 31, 2023 19:03
@renovate renovate bot changed the title chore(deps): update module github.com/docker/docker to v24 [security] chore(deps): update module github.com/docker/docker to v24 [security] - autoclosed Oct 31, 2023
@renovate renovate bot closed this Oct 31, 2023
@renovate renovate bot deleted the renovate/go-github.com/docker/docker-vulnerability branch October 31, 2023 22:03
@renovate renovate bot changed the title chore(deps): update module github.com/docker/docker to v24 [security] - autoclosed chore(deps): update module github.com/docker/docker to v24 [security] Nov 1, 2023
@renovate renovate bot reopened this Nov 1, 2023
@renovate renovate bot restored the renovate/go-github.com/docker/docker-vulnerability branch November 1, 2023 01:05
@renovate renovate bot force-pushed the renovate/go-github.com/docker/docker-vulnerability branch from e739ab8 to 7f1fdcf Compare November 1, 2023 01:06
@renovate renovate bot changed the title chore(deps): update module github.com/docker/docker to v24 [security] chore(deps): update module github.com/docker/docker to v24 [security] - autoclosed Nov 1, 2023
@renovate renovate bot closed this Nov 1, 2023
@renovate renovate bot deleted the renovate/go-github.com/docker/docker-vulnerability branch November 1, 2023 04:34
@renovate renovate bot changed the title chore(deps): update module github.com/docker/docker to v24 [security] - autoclosed chore(deps): update module github.com/docker/docker to v24 [security] Nov 1, 2023
@renovate renovate bot reopened this Nov 1, 2023
@renovate renovate bot restored the renovate/go-github.com/docker/docker-vulnerability branch November 1, 2023 08:32
@renovate renovate bot force-pushed the renovate/go-github.com/docker/docker-vulnerability branch from 7f1fdcf to e0bf86c Compare November 1, 2023 08:33
@renovate renovate bot changed the title chore(deps): update module github.com/docker/docker to v24 [security] chore(deps): update module github.com/docker/docker to v24 [security] - autoclosed Nov 1, 2023
@renovate renovate bot closed this Nov 1, 2023
@renovate renovate bot deleted the renovate/go-github.com/docker/docker-vulnerability branch November 1, 2023 12:24
@renovate renovate bot changed the title chore(deps): update module github.com/docker/docker to v24 [security] - autoclosed chore(deps): update module github.com/docker/docker to v24 [security] Nov 1, 2023
@renovate renovate bot reopened this Nov 1, 2023
@renovate renovate bot restored the renovate/go-github.com/docker/docker-vulnerability branch November 1, 2023 19:13
@renovate renovate bot deleted the renovate/go-github.com/docker/docker-vulnerability branch January 25, 2024 04:10
@renovate renovate bot restored the renovate/go-github.com/docker/docker-vulnerability branch January 27, 2024 04:35
@renovate renovate bot changed the title chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] - autoclosed chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] Jan 27, 2024
@renovate renovate bot reopened this Jan 27, 2024
@renovate renovate bot force-pushed the renovate/go-github.com/docker/docker-vulnerability branch from a8ffc45 to 0ab135c Compare January 27, 2024 04:36
@renovate renovate bot changed the title chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] - autoclosed Jan 27, 2024
@renovate renovate bot closed this Jan 27, 2024
@renovate renovate bot deleted the renovate/go-github.com/docker/docker-vulnerability branch January 27, 2024 08:30
@renovate renovate bot changed the title chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] - autoclosed chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] Jan 27, 2024
@renovate renovate bot reopened this Jan 27, 2024
@renovate renovate bot restored the renovate/go-github.com/docker/docker-vulnerability branch January 27, 2024 10:50
@renovate renovate bot force-pushed the renovate/go-github.com/docker/docker-vulnerability branch from 0ab135c to 31171f9 Compare January 27, 2024 10:51
@renovate renovate bot changed the title chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] - autoclosed Jan 27, 2024
@renovate renovate bot closed this Jan 27, 2024
@renovate renovate bot deleted the renovate/go-github.com/docker/docker-vulnerability branch January 27, 2024 12:50
@renovate renovate bot changed the title chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] - autoclosed chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] Jan 27, 2024
@renovate renovate bot reopened this Jan 27, 2024
@renovate renovate bot restored the renovate/go-github.com/docker/docker-vulnerability branch January 27, 2024 18:43
@renovate renovate bot force-pushed the renovate/go-github.com/docker/docker-vulnerability branch from 31171f9 to 389d743 Compare January 27, 2024 18:45
@renovate renovate bot changed the title chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] - autoclosed Jan 27, 2024
@renovate renovate bot closed this Jan 27, 2024
@renovate renovate bot deleted the renovate/go-github.com/docker/docker-vulnerability branch January 27, 2024 21:57
@renovate renovate bot changed the title chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] - autoclosed chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] Jan 28, 2024
@renovate renovate bot restored the renovate/go-github.com/docker/docker-vulnerability branch January 28, 2024 00:52
@renovate renovate bot reopened this Jan 28, 2024
@renovate renovate bot force-pushed the renovate/go-github.com/docker/docker-vulnerability branch from 389d743 to c838b28 Compare January 28, 2024 00:53
@renovate renovate bot changed the title chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] chore(deps): update module github.com/docker/docker to v20.10.27+incompatible [security] - autoclosed Jan 28, 2024
@renovate renovate bot closed this Jan 28, 2024
@renovate renovate bot deleted the renovate/go-github.com/docker/docker-vulnerability branch January 28, 2024 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants