除非防火墙阻止了访问,否则具有公共 IP 地址的 Dataflow 工作器虚拟机的 SSH 端口会对互联网开放。
如需获取启动了具有外部 IP 地址的虚拟机的 Dataflow 作业列表,请使用以下 gcloud CLI 命令:
gcloud--projectPROJECT_IDcomputeinstanceslist\--filter"EXTERNAL_IP!='' AND STATUS='RUNNING' \ AND description ~ 'Created for Dataflow job'"\--format="list (description)"|sort-u
如需检查项目中具有外部 IP 地址的所有虚拟机的列表,请使用以下 gcloud CLI 命令:
gcloud--projectPROJECT_IDcomputeinstanceslist\--filter"EXTERNAL_IP!='' AND STATUS='RUNNING'"
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[[["\u003cp\u003eThis page lists security bulletins for Dataflow, and you can subscribe to updates via an RSS feed reader or the provided feed URL.\u003c/p\u003e\n"],["\u003cp\u003eA recent vulnerability, CVE-2024-6387, has been discovered in OpenSSH, potentially allowing attackers to gain root access to Dataflow worker VMs.\u003c/p\u003e\n"],["\u003cp\u003eDataflow worker VMs with public IP addresses and exposed SSH should be prioritized for mitigation.\u003c/p\u003e\n"],["\u003cp\u003eThe most effective mitigation is to disable SSH access to Dataflow worker VMs using the provided Google Cloud CLI command, as SSH access is typically unnecessary for Dataflow functionality.\u003c/p\u003e\n"],["\u003cp\u003eFor streaming pipelines launched before 2024-07-04 22:00 PDT, updating or restarting the job is necessary to use the patched VM image with the OpenSSH update, and you may also disable public IPs for pipelines not requiring public internet access.\u003c/p\u003e\n"]]],[],null,["# Security bulletins\n\nThe following describes all security bulletins related to\nDataflow.\n\nTo get the latest security bulletins delivered to you, do one of the following:\n\n- Add the URL of this page to your [feed reader](https://wikipedia.org/wiki/Comparison_of_feed_aggregators).\n- Add the feed URL directly to your feed reader: `https://cloud.google.com/feeds/dataflow-security-bulletins.xml`\n\n\u003cbr /\u003e\n\nGCP-2024-040\n------------\n\n**Published**: 2024-07-03\n\n\u003cbr /\u003e"]]