对话The Conversation·2026.11.19

AI helps uncover critical flaw in ubiquitous internet software

AI 帮助发现无处不在的互联网软件中的严重漏洞

Doug Jacobson, University Professor of Electrical and Computer Engineering, Iowa State University·The Conversation·CC BY-ND 4.0·阅读原文
C1进阶81.0
852 词 5 分钟 46 次阅读

AI is speeding up the pace of uncovering software flaws hackers could exploit, like the one just found in the widely used internet software Java.

If you checked your bank balance, booked a flight or ordered groceries online today, there is a good chance your request was handled by a computer program written in Java.

For nearly three decades, the Java programming language has been one of the quiet workhorses of the internet. While most people rarely interact with it directly on their phones or laptops, it sits at the heart of most large, behind-the-scenes server applications that power modern business, finance and government.

That ubiquity is why a new critical security alert from the U.S. Cybersecurity and Infrastructure Security Agency drew the attention of technology teams worldwide. Security researchers uncovered a severe flaw, dubbed Java4Shell, in a core Java component. If left unpatched, the bug could allow an attacker to trick a vulnerable server into executing malicious code.

As a cybersecurity researcher who studies how large-scale software systems fail and how to defend them, I see this discovery as both a standard call to action for system administrators and another milestone in a broader shift: Artificial intelligence is rapidly changing how hidden flaws in critical software are discovered.

To understand the vulnerability, it helps to know why Java became so popular in the first place.

Normally, software must be tailored to the specific computer hardware and operating system it runs on. Java solved that headache with a clever piece of software called the Java Virtual Machine. It is essentially a program that runs other programs. Software developers write their Java application once, and the Java Virtual Machine provides a uniform foundation on top of a server’s operating system, running that application regardless of the underlying machine.

In addition to running the application, the Java Virtual Machine provides a standardized set of code for everyday tasks, such as reading files, managing network connections and formatting incoming data.

One of those routine tasks is Base64 encoding. Computers often need to send complex data, such as images, attachments or authentication tokens, over text-based internet protocols. Because raw binary data can be corrupted in transit, systems convert it into a string of standard text characters using Base64. When a Java server receives that string, its Base64 library decodes it back into its original form so the application can use it.

The newly discovered vulnerability resides in the Base64 decoding library in Oracle’s implementation of the Java Virtual Machine. This means that any application using this version of the Java Virtual Machine is at risk.

According to technical analysis of the flaw, a carefully crafted piece of malformed Base64 data can overwhelm the library’s processing, allowing an attacker to break out of normal boundaries, execute unauthorized commands and potentially gain control of the server.

If this sounds familiar, it follows a pattern seen recently with a high-profile PHP vulnerability, another foundational web language. Like the PHP vulnerability, this Java flaw was uncovered by cybersecurity firm Calif using AI tools to search for vulnerabilities.

Calif officials said the company alerted the governments of the United States, Canada, Australia, New Zealand and Britain, and major tech companies, including Google and Microsoft, before the Java vulnerability became public. The Cybersecurity and Infrastructure Security Agency then issued its alert, urging organizations to immediately patch the flaw.

Historically, identifying subtle memory or parsing errors buried deep within millions of lines of mature code required months of painstaking manual review by human experts. Today, security researchers are pairing AI tools with traditional code analysis to systematically probe software libraries for edge cases that humans might overlook for years.

Whenever a critical vulnerability affects a foundational piece of software, headlines can sound alarmist. In reality, there are several reasons to maintain perspective while still acting quickly.

First, the good news is that a responsible security researcher discovered and privately reported this flaw, giving people who maintain software time to develop and release a fix before attackers could widely exploit it.

Second, everyday users do not need to panic about their personal devices. This is an issue affecting enterprise applications and cloud infrastructure, not home laptops, smartphones or tablets.

Third, even on vulnerable servers, exploiting this bug in the real world is not always straightforward. Most modern web systems do not expose raw Java decoders directly to the open internet. Instead, incoming traffic typically passes through several types of software – firewalls, load balancers and web proxies – that inspect, sanitize or reject malformed data before it reaches the underlying Java application.

Still, “harder to exploit” does not mean impossible, especially for internal systems or custom applications that pass user-supplied bits of information, called tokens, directly to Java’s decoder. As with any foundational infrastructure repair, the best defense is straightforward: promptly applying the latest security updates.

As AI accelerates the discovery of long-hidden software flaws, keeping the digital infrastructure patched remains one of the most effective cybersecurity practices.

Doug Jacobson does not work for, consult, own shares in or receive funding from any company or organization that would benefit from this article, and has disclosed no relevant affiliations beyond their academic appointment.

中文翻译(全文)

如果你今天查过银行余额、订过机票,或者在网上买过菜,那么你的请求很有可能就是由一段用 Java 编写的计算机程序处理的。

近三十年来,Java 编程语言一直是互联网幕后默默挑大梁的角色之一。虽然大多数人在手机或笔记本电脑上很少直接与它打交道,但它却是支撑现代商业、金融和政府部门运转的众多大型后台服务器应用的核心。

正因为如此普遍,美国网络安全和基础设施安全局(CISA)发布的一项新的严重安全警报,引起了全球技术团队的关注。安全研究人员在 Java 的一个核心组件中发现了一个严重漏洞,命名为 Java4Shell。如果一直不打补丁,这个漏洞可能让攻击者诱使存在漏洞的服务器执行恶意代码。

作为一名研究大型软件系统如何失效以及如何防御它们的网络安全研究者,我认为这一发现既是向系统管理员发出的常规行动号召,也是更大转变中的又一座里程碑:人工智能正在迅速改变关键软件中隐藏漏洞的发现方式。

要理解这个漏洞,先了解 Java 当初为何如此受欢迎会有所帮助。

通常情况下,软件必须针对它所运行的具体计算机硬件和操作系统做定制。Java 用一个叫 Java 虚拟机(Java Virtual Machine)的巧妙软件解决了这个麻烦。它本质上是一个运行其他程序的程序。软件开发者只需编写一次 Java 应用,Java 虚拟机便在服务器的操作系统之上提供一个统一的基础环境,无论底层机器是什么,都能运行这个应用。

除了运行应用之外,Java 虚拟机还提供了一套标准化的代码,用于读取文件、管理网络连接、格式化传入数据等日常任务。

其中一项常规任务是 Base64 编码。计算机常常需要通过基于文本的互联网协议发送图像、附件或身份验证令牌等复杂数据。由于原始二进制数据在传输过程中可能损坏,系统会用 Base64 把它转换成一串标准文本字符。当 Java 服务器收到这串字符时,其 Base64 库会把它解码回原始形式,以便应用使用。

新发现的漏洞位于 Oracle 实现的 Java 虚拟机中的 Base64 解码库。这意味着任何使用该版本 Java 虚拟机的应用都处于风险之中。

根据对该漏洞的技术分析,一段精心构造的畸形 Base64 数据会令这个库的处理不堪重负,从而让攻击者突破正常边界、执行未经授权的命令,并可能控制服务器。

如果这听起来耳熟,那是因为它与最近备受关注的 PHP 漏洞如出一辙——PHP 是另一种基础性的网络语言。和那个 PHP 漏洞一样,这个 Java 漏洞也是网络安全公司 Calif 用 AI 工具搜寻漏洞时发现的。

Calif 公司官员表示,在 Java 漏洞公开之前,公司已通报美国、加拿大、澳大利亚、新西兰和英国政府,以及包括 Google 和 Microsoft 在内的主要科技公司。随后,网络安全和基础设施安全局发布了警报,敦促各组织立即修补该漏洞。

过去,要在数百万行成熟代码的深处找出细微的内存或解析错误,需要人类专家花上数月时间艰苦地人工审查。如今,安全研究人员把 AI 工具与传统代码分析结合起来,系统性地探测软件库中那些可能被人类忽视多年的边缘情况。

每当某个严重漏洞波及基础性软件时,新闻标题往往听起来有些危言耸听。实际上,在迅速行动的同时,也有若干理由让我们保持理性。

首先,好消息是一位负责任的安全研究者发现了这个漏洞并私下报告,让软件维护者在攻击者大规模利用之前有时间开发并发布修复程序。

其次,普通用户不必为自己的个人设备恐慌。这是影响企业应用和云基础设施的问题,而不是家用笔记本电脑、智能手机或平板电脑。

第三,即使在存在漏洞的服务器上,在现实中利用这个漏洞也并不总是轻而易举。大多数现代网络系统不会把原始的 Java 解码器直接暴露在公网上。相反,进入的流量通常要经过防火墙、负载均衡器和 Web 代理等多层软件,它们会在畸形数据到达底层 Java 应用之前对其进行检查、清洗或拦截。

不过,“更难利用”并不意味着不可能,尤其是对于那些把用户提供的、被称为令牌的信息片段直接交给 Java 解码器的内部系统或定制应用而言。与任何基础设施的修复一样,最好的防御很直接:及时安装最新的安全更新。

随着 AI 加速发现长期隐藏的软件漏洞,让数字基础设施保持最新补丁,仍是最有效的网络安全做法之一。

Doug Jacobson 不为任何可能从本文获益的公司或机构工作、提供咨询、持有股份或接受资助,并已披露除学术职务之外没有相关隶属关系。

重点词汇

  • workhorse/ˈwɜːk.hɔːs/n.— Someone or something that does hard, steady work and can be relied on.主力干将For nearly three decades, the Java programming language has been one of the quiet workhorses of the internet.文中把 Java 比作互联网背后默默干活的主力
  • flaw/flɔː/n.— A fault or weakness that makes something imperfect or unsafe.缺陷Security researchers uncovered a severe flaw, dubbed Java4Shell, in a core Java component.指被命名为 Java4Shell 的严重安全缺陷
  • vulnerable/ˈvʌl.nər.ə.bəl/adj.— Easily harmed or attacked because of a weakness or missing protection.脆弱的If left unpatched, the bug could allow an attacker to trick a vulnerable server into executing malicious code.未打补丁的服务器就是这种易受攻击状态
  • routine/ruːˈtiːn/adj.— Ordinary and done regularly as part of normal work.例行的One of those routine tasks is Base64 encoding.Base64 编解码属于日常例行任务
  • alarmist/əˈlɑː.mɪst/adj.— Making a situation sound more dangerous than it really is.危言耸听Whenever a critical vulnerability affects a foundational piece of software, headlines can sound alarmist.作者说新闻标题容易夸大风险
  • perspective/pəˈspek.tɪv/n.— A sensible, balanced view of how serious something really is.全局观In reality, there are several reasons to maintain perspective while still acting quickly.作者主张既冷静看待又尽快行动
  • exploit/ɪkˈsplɔɪt/v.— To use a weakness in a computer system to gain access or cause harm.利用Third, even on vulnerable servers, exploiting this bug in the real world is not always straightforward.现实中真正利用该漏洞并不容易
  • straightforward/ˌstreɪtˈfɔː.wəd/adj.— Simple and easy to understand or do; not complicated.直截了当As with any foundational infrastructure repair, the best defense is straightforward: promptly applying the latest security updates.最有效的防御就是及时安装更新

更多来自 对话

查看全部

本文内容来自 对话,版权归原出版方所有,本站仅用于英语学习与阅读交流。

阅读测验

共 4 道题目

4 题
1.[单选]

Which part of Java contains the Java4Shell vulnerability?

2.[单选]

Who uncovered the Java flaw by using AI tools?

3.[单选]

Why does the author say ordinary users need not panic?

4.[判断]

Most modern web systems expose raw Java decoders directly to the open internet.

评论

0 条讨论

按时间

登录后发表评论

立即登录

暂无评论

成为第一个分享想法的人吧!