summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-12-03 18:52:46 +0000
committerGitHub <noreply@github.com>2021-12-03 18:52:46 +0000
commitfe44757e0b26d83469a35191258f78561d600ae9 (patch)
treeb646cb36a808b7140837b8abf428bee6e7815a5e
parent815f36af1a68caae85d251b7a1009cf075d55dab (diff)
parent57c5e2246efeaf2fef820a482241f1cc43960c7a (diff)
downloadpodman-fe44757e0b26d83469a35191258f78561d600ae9.tar.gz
podman-fe44757e0b26d83469a35191258f78561d600ae9.tar.bz2
podman-fe44757e0b26d83469a35191258f78561d600ae9.zip
Merge pull request #12497 from mheon/fix_2021_4024
Fix CVE-2021-4024 - v3.4 branch
-rw-r--r--pkg/machine/qemu/machine.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/machine/qemu/machine.go b/pkg/machine/qemu/machine.go
index 03197fef1..ab1b6c7df 100644
--- a/pkg/machine/qemu/machine.go
+++ b/pkg/machine/qemu/machine.go
@@ -659,7 +659,7 @@ func (v *MachineVM) startHostNetworking() error {
// Listen on all at port 7777 for setting up and tearing
// down forwarding
- listenSocket := "tcp://0.0.0.0:7777"
+ listenSocket := "tcp://127.0.0.1:7777"
qemuSocket, pidFile, err := v.getSocketandPid()
if err != nil {
return err