-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fix CVE-2021-4024 - v3.4 branch #12497
Conversation
This resolves CVE-2021-4024, where an attacker could access the API externally and forward any port they desired to the VM from `podman machine`. [NO NEW TESTS NEEDED] gvproxy is not tested directly at this time. Signed-off-by: Matthew Heon <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mheon, rst0git The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Confirmed working on OS X by @baude - removing WIP |
@containers/podman-maintainers PTAL |
/lgtm |
LGTM |
This resolves CVE-2021-4024, where an attacker could access the API externally and forward any port they desired to the VM from
podman machine
.This is only required on v3.4 and v3.4.2-rhel branches, as main already has a similar fix from @Luap99 rewriting this code. Unfortunately we can't backport that, as it's an extensive rewrite that depends on the even more extensive rewrites of the network code.
[NO NEW TESTS NEEDED] gvproxy is not tested directly at this time.