)]}'
{"id":"openvpn~2030","triplet_id":"openvpn~master~I0083c6c5460ff2aff638598ac26f99fd30d01fd1","project":"openvpn","branch":"master","full_branch":"refs/heads/master","attention_set":{},"removed_from_attention_set":{"1000003":{"account":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"last_update":"2026-10-31 12:30:28.000000000","reason":"Change was submitted"}},"hashtags":[],"change_id":"I0083c6c5460ff2aff638598ac26f99fd30d01fd1","subject":"interactive: validate message size for dns/nrpt/wins handlers","status":"MERGED","created":"2026-10-23 18:25:49.000000000","updated":"2026-10-31 12:30:28.000000000","submitted":"2026-10-31 12:30:28.000000000","submitter":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"2030","meta_rev_id":"91faf467b5b57ce95504d13988c8d8cbc94649a2","_number":2030,"virtual_id_number":2030,"owner":{"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},"actions":{},"labels":{"Code-Review":{"all":[{"value":0,"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},{"value":0,"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"}],"values":{"-2":"This shall not be submitted","-1":"I would prefer this is not submitted as is"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"description":"","default_value":0}},"removable_reviewers":[{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"}],"reviewers":{"REVIEWER":[{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},{"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"}],"CC":[{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-10-23 18:25:49.000000000","updated_by":{"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},"real_updated_by":{"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},"reviewer":{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"},"state":"CC"},{"updated":"2026-10-23 18:25:49.000000000","updated_by":{"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},"real_updated_by":{"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},"reviewer":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"state":"REVIEWER"}],"messages":[{"id":"4e8761f1097b39f8d95f2394aae6cf63df9e325c","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},"date":"2026-10-23 18:25:49.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"0282700ffc7ef13742ff6c939d18cb3d0645d68e","author":{"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},"date":"2026-10-23 18:35:33.000000000","message":"Patch Set 1: Code-Review+2","accounts_in_message":[],"_revision_number":1},{"id":"91faf467b5b57ce95504d13988c8d8cbc94649a2","tag":"autogenerated:gerrit:merged","author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"date":"2026-10-31 12:30:28.000000000","message":"Change has been successfully pushed.","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"2115ebfacd6190fec4a872de060233b6497da337","revisions":{"0d7c91a11c99f254b9b29630a8bdf760a883351c":{"kind":"REWORK","_number":1,"created":"2026-10-23 18:25:49.000000000","uploader":{"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},"ref":"refs/changes/30/2030/1","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/30/2030/1","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/30/2030/1 \u0026\u0026 git checkout -b change-2030 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/30/2030/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/30/2030/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/30/2030/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/30/2030/1","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/30/2030/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"74ba58631ae2b53668c2b5d372e4f7ed28e02223","subject":"configure: Call AC_PROG_CC before AC_USE_SYSTEM_EXTENSIONS"}],"author":{"name":"Naveed Khan","email":"dxbnaveed.k@gmail.com","date":"2026-10-18 22:48:25.000000000","tz":330},"committer":{"name":"Heiko Hund","email":"heiko@ist.eigentlich.net","date":"2026-10-23 18:25:01.000000000","tz":120},"subject":"interactive: validate message size for dns/nrpt/wins handlers","message":"interactive: validate message size for dns/nrpt/wins handlers\n\nHandleMessage() dispatches every fixed-size request only after checking\nthat msg.header.size equals the size of the expected struct: address,\nroute, flush_neighbors, wfp_block, enable_dhcp, set_mtu and\ncreate_adapter all do this. The dns, nrpt and wins config handlers do\nnot, so they inherit only the generic gate (header.size \u003c\u003d sizeof the\nmessage union).\n\nThe stack message object is not zeroed, so an unprivileged pipe client\ncan send an undersized dns/nrpt/wins message and have the service act on\nuninitialized stack memory: addr_len, the address array, family, the\ninterface name and the domain lists are all read beyond the bytes that\nwere actually received. The service runs as SYSTEM and takes these\nmessages from any local user, so it should apply the same size check the\nother handlers already use.\n\nAdd the matching msg.header.size \u003d\u003d sizeof(...) check to the dns,\nnrpt_dns and wins cases.\n\nAcked-by: Heiko Hund \u003cheiko@ist.eigentlich.net\u003e\nChange-Id: I0083c6c5460ff2aff638598ac26f99fd30d01fd1\nSigned-off-by: Naveed Khan \u003cdxbnaveed.k@gmail.com\u003e\n"},"branch":"refs/heads/master"},"2115ebfacd6190fec4a872de060233b6497da337":{"kind":"TRIVIAL_REBASE_WITH_MESSAGE_UPDATE","_number":2,"created":"2026-10-31 12:30:28.000000000","uploader":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"ref":"refs/changes/30/2030/2","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/30/2030/2","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/30/2030/2 \u0026\u0026 git checkout -b change-2030 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/30/2030/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/30/2030/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/30/2030/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/30/2030/2","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/30/2030/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"5d555d00109296f9642d2a59528aeee13c5ec541","subject":"plugin: detect too long plugin paths on Windows"}],"author":{"name":"Naveed Khan","email":"dxbnaveed.k@gmail.com","date":"2026-10-23 18:56:09.000000000","tz":120},"committer":{"name":"Gert Doering","email":"gert@greenie.muc.de","date":"2026-10-31 12:27:19.000000000","tz":60},"subject":"interactive: validate message size for dns/nrpt/wins handlers","message":"interactive: validate message size for dns/nrpt/wins handlers\n\nHandleMessage() dispatches every fixed-size request only after checking\nthat msg.header.size equals the size of the expected struct: address,\nroute, flush_neighbors, wfp_block, enable_dhcp, set_mtu and\ncreate_adapter all do this. The dns, nrpt and wins config handlers do\nnot, so they inherit only the generic gate (header.size \u003c\u003d sizeof the\nmessage union).\n\nThe stack message object is not zeroed, so an unprivileged pipe client\ncan send an undersized dns/nrpt/wins message and have the service act on\nuninitialized stack memory: addr_len, the address array, family, the\ninterface name and the domain lists are all read beyond the bytes that\nwere actually received. The service runs as SYSTEM and takes these\nmessages from any local user, so it should apply the same size check the\nother handlers already use.\n\nAdd the matching msg.header.size \u003d\u003d sizeof(...) check to the dns,\nnrpt_dns and wins cases.\n\nGithub: closes OpenVPN/openvpn#1129\n\nAcked-by: Heiko Hund \u003cheiko@ist.eigentlich.net\u003e\nChange-Id: I0083c6c5460ff2aff638598ac26f99fd30d01fd1\nSigned-off-by: Naveed Khan \u003cdxbnaveed.k@gmail.com\u003e\nAcked-by: Heiko Hund \u003cheiko@openvpn.net\u003e\nGerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2030\nMessage-Id: \u003c20261023185614.5201-1-gert@greenie.muc.de\u003e\nURL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg40113.html\nSigned-off-by: Gert Doering \u003cgert@greenie.muc.de\u003e\n"},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[]}
