summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/1593.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/1593.toml')
-rw-r--r--gitlab/issues/target_missing/host_missing/accel_missing/1593.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/1593.toml b/gitlab/issues/target_missing/host_missing/accel_missing/1593.toml
new file mode 100644
index 00000000..15c95ea5
--- /dev/null
+++ b/gitlab/issues/target_missing/host_missing/accel_missing/1593.toml
@@ -0,0 +1,17 @@
+id = 1593
+title = "SLIRP hostfwd ignores bind address and uses `INADDR_ANY`"
+state = "closed"
+created_at = "2023-04-12T03:35:09.563Z"
+closed_at = "2023-04-14T08:20:43.990Z"
+labels = ["workflow::Needs Info"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/1593"
+host-os = "macOS"
+host-arch = "ARM64"
+qemu-version = "7.2.1"
+guest-os = "Alpine Linux"
+guest-arch = "ARM64"
+description = """When using `-netdev hostfwd=`..., qemu SLIRP uses `INADDR_ANY` instead of any bind address provided by the user. As a result, even if the user specifies to listen only on localhost (e.g. `-netdev user,hostfwd=tcp:127.0.0.1:22-:22`), qemu will listen on `*.*`. This is a potential security issue (as it may unexpectedly expose the guest to internet or local network traffic)."""
+reproduce = "n/a"
+additional = """The bug is here: https://gitlab.com/qemu-project/qemu/-/blob/master/net/slirp.c#L777
+
+Rather than hardcoding `INADDR_ANY`, qemu should respect the user-defined bind address."""