惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
S
Secure Thoughts
Google DeepMind News
Google DeepMind News
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Security Affairs
TaoSecurity Blog
TaoSecurity Blog
Cloudbric
Cloudbric
Cisco Talos Blog
Cisco Talos Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
H
Heimdal Security Blog
The Last Watchdog
The Last Watchdog
T
Threatpost
Hacker News: Ask HN
Hacker News: Ask HN
Security Latest
Security Latest
Know Your Adversary
Know Your Adversary
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
S
Securelist
Microsoft Azure Blog
Microsoft Azure Blog
The GitHub Blog
The GitHub Blog
阮一峰的网络日志
阮一峰的网络日志
D
Docker
V
Vulnerabilities – Threatpost
Attack and Defense Labs
Attack and Defense Labs
Hugging Face - Blog
Hugging Face - Blog
W
WeLiveSecurity
Engineering at Meta
Engineering at Meta
aimingoo的专栏
aimingoo的专栏
Last Week in AI
Last Week in AI
L
LINUX DO - 热门话题
NISL@THU
NISL@THU
D
Darknet – Hacking Tools, Hacker News & Cyber Security
The Cloudflare Blog
博客园_首页
P
Privacy International News Feed
Scott Helme
Scott Helme
N
News and Events Feed by Topic
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
T
Tenable Blog
H
Hacker News: Front Page
N
News and Events Feed by Topic
罗磊的独立博客
Google Online Security Blog
Google Online Security Blog
S
Security @ Cisco Blogs
Hacker News - Newest:
Hacker News - Newest: "LLM"
A
About on SuperTechFans
有赞技术团队
有赞技术团队
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
G
GRAHAM CLULEY
Application and Cybersecurity Blog
Application and Cybersecurity Blog

崎径 其镜

从零配置 VS Code C++ 环境 力扣笔记 一文详解Hexo 博客搭建 Unity 游戏的 Google Play 16 kb页面对齐处理 Unity 升级到 2022 踩坑记录(URP / 黑屏 / HTTP) Android Google Play 16 KB 页面对齐适配指南 iOS 应用开启包外存储访问(文件共享) xlua学习笔记 Lua新知 EFK日志分析系统的搭建 使用贝塞尔曲线实现道具随机飞动效果 震惊,JS不加分号会造成错误!? Linux升级Python Github图床工具 JS使用replace()函数全部替换 JS使用Splice()函数操作数组 当你的程序连接Mysql然后崩溃时 安卓应用闪屏 安卓各渠道SDK接入体验 某微信爬虫工具多开方案 U3D问题总结(七) lua U3D问题总结(六) 优化 U3D问题总结(五) 渲染与光照 U3D问题总结(四) 物理相关 U3D问题总结(三) Unity基础
Unity CVE-2025-59489 漏洞修复实践(Google Play 合规)
Anqi Zhao · 2026-05-15 · via 崎径 其镜

Google Play 要求所有 Unity 应用完成对 CVE-2025-59489 漏洞的修补,否则将无法通过审核。本文记录实际操作流程与注意事项。

背景

Unity 官方安全公告:https://unity.com/security/sept-2025-01

注意:虽然部分新版 Unity Editor 的更新日志中声称已内置修复,但实测使用 2022.3.62f3c1 提审 Google Play 时仍会收到不合规提示。因此,无论 Editor 版本如何,都建议使用 Unity 官方 Patch 工具进行修补


修补工具

工具下载页面:https://unity.com/security/sept-2025-01/remediation

  • Windows:使用 UnityApplicationPatcherCLI.exe
  • macOS:使用 UnityApplicationPatcher.app/Contents/MacOS/UnityApplicationPatcherCLI

Android APK/AAB 修补(最常用)

基本命令

UnityApplicationPatcherCLI -android ^
-applicationPath <path/to/application.apk> ^
-versionCode <新版本号>

versionCode 必须大于当前版本号,否则 Google Play 会拒绝上传。

使用正式签名(发布包必须)

UnityApplicationPatcherCLI -android ^
-applicationPath <path/to/application.apk> ^
-versionCode <新版本号> ^
-versionName <版本名称> ^
-keystore <path/to/your.keystore> ^
-keystorePassword <密钥库密码> ^
-keyAlias <密钥别名> ^
-keyAliasPassword <别名密码>

仅查看当前版本号(不修补)

UnityApplicationPatcherCLI -android -printApplicationVersion ^
-applicationPath <path/to/application.apk>

参数说明

参数 必填 说明
-applicationPath APK 或 AAB 文件路径
-versionCode 修补后的版本号,必须高于当前值
-versionName 可选 用户看到的版本名称,省略则保持原值
-keystore 可选 .keystore.jks 文件路径,省略则使用调试签名
-keystorePassword 可选 密钥库密码
-keyAlias 可选 密钥别名
-keyAliasPassword 可选 别名密码
-verbose 可选 输出详细日志,排查问题时使用

Windows / macOS 应用修补

# Windows - 修补整个应用目录
UnityApplicationPatcherCLI -windows -applicationPath <path/to/MyApp>

# Windows - 只修补 UnityPlayer.dll
UnityApplicationPatcherCLI -windows -unityPlayerLibrary <path/to/UnityPlayer.dll>

# macOS - 修补整个 .app
UnityApplicationPatcherCLI -macos -applicationPath <path/to/MyApp.app>

# macOS - 只修补 UnityPlayer.dylib(需加 -allowStandaloneLibrary)
UnityApplicationPatcherCLI -macos -unityPlayerLibrary <path/to/UnityPlayer.dylib> -allowStandaloneLibrary

-allowStandaloneLibrary:允许修补不在 .app 包内的独立 UnityPlayer.dylib,默认不允许,因为工具可能遗漏同目录下的其他需修补文件。


注意事项

  1. 修补后的包需要重新签名才能上传 Google Play,务必填写正式签名参数
  2. versionCode 每次提审必须递增,不要忘记同步修改
  3. 如果 CI/CD 流程有自动打包,建议将 Patch 步骤也加入流水线

版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 崎径 其镜

赞助

  • 微信

    微信

  • 支付宝

    支付宝