USN-9474-1: Modules vulnerability
It was discovered that Modules did not properly handle certain module names during Bash command completion. A local attacker could possibly use this issue to execute arbitrary commands in the shell of a user who uses command completion. This issue was only addressed in Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/environment-modulesto a version that resolves this vulnerability.Fixed in Ubuntu Pro
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users of the Modules package who use Bash command completion are exposed to a local attacker supplying a crafted module name. The attacker’s goal is to cause commands to execute in the shell of the user invoking completion.
What attacker access is required?
The issue is described as locally exploitable. The available information does not indicate that it can be exploited remotely or without interaction from a user using Bash command completion.
Which Ubuntu releases received a fix?
The issue was addressed only in Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. No fix status for other Ubuntu releases is provided.