Home / mailings [USN-9266-1] ruby-git vulnerabilities
Posted on 01 December 2026
Ubuntu Security==========================================================================Ubuntu Security Notice USN-9266-1
November 30, 2026
ruby-git vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS
Summary:
Several security issues were fixed in ruby-git.
Software Description:
- ruby-git: Ruby interface to the Git revision control system
Details:
It was discovered that ruby-git passed the remote argument of its fetch
function to the git fetch command in a way that allowed additional options
to be set. An attacker could possibly use this issue to execute arbitrary
commands. (CVE-2022-25648)
It was discovered that ruby-git incorrectly handled certain file names when
loading a repository. If a user were tricked into loading a repository
containing a specially crafted file name, an attacker could possibly use
these issues to execute arbitrary Ruby code. (CVE-2022-46648,
CVE-2022-47318)
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 22.04 LTS
ruby-git 1.9.1-1ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 20.04 LTS
ruby-git 1.6.0+0-1ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 18.04 LTS
ruby-git 1.2.8-1ubuntu0.18.04.1~esm1
Available with Ubuntu Pro
Ubuntu 16.04 LTS
ruby-git 1.2.8-1ubuntu0.16.04.1~esm1
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-9266-1
CVE-2022-25648, CVE-2022-46648, CVE-2022-47318
--===============3265232728012033097==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
