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

推荐订阅源

IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
博客园_首页
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
ThreatConnect
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 聂微东
H
Help Net Security
T
Threat Research - Cisco Blogs
Blog — PlanetScale
Blog — PlanetScale
A
Arctic Wolf
G
Google Developers Blog
量子位
U
Unit 42
I
InfoQ
V
V2EX
F
Fox-IT International blog
P
Privacy & Cybersecurity Law Blog
V
Visual Studio Blog
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏
C
CERT Recently Published Vulnerability Notes
博客园 - 三生石上(FineUI控件)
T
The Exploit Database - CXSecurity.com
T
Tailwind CSS Blog
SecWiki News
SecWiki News
Know Your Adversary
Know Your Adversary
MyScale Blog
MyScale Blog
宝玉的分享
宝玉的分享
The Hacker News
The Hacker News
Project Zero
Project Zero
Application and Cybersecurity Blog
Application and Cybersecurity Blog
月光博客
月光博客
Recent Commits to openclaw:main
Recent Commits to openclaw:main
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
G
GRAHAM CLULEY
C
Cisco Blogs
I
Intezer
Simon Willison's Weblog
Simon Willison's Weblog
O
OpenAI News
Recorded Future
Recorded Future
T
Tenable Blog
W
WeLiveSecurity
腾讯CDC
Stack Overflow Blog
Stack Overflow Blog
T
The Blog of Author Tim Ferriss
www.infosecurity-magazine.com
www.infosecurity-magazine.com
D
Docker
C
Cybersecurity and Infrastructure Security Agency CISA
PCI Perspectives
PCI Perspectives

崎径 其镜

Unity 升级到 2022 踩坑记录(URP / 黑屏 / HTTP) iOS 应用开启包外存储访问(文件共享) Android Google Play 16 KB 页面对齐适配指南 从零配置 VS Code C++ 环境 力扣笔记 Unity 游戏的 Google Play 16 kb页面对齐处理 一文详解Hexo 博客搭建 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 合规)
2026-05-29 · 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 许可协议。转载请注明来源 崎径 其镜

赞助

  • 微信

    微信

  • 支付宝

    支付宝

最新文章