Rex(Perl)に中間者攻撃で認証情報や通信内容が漏えいする脆弱性
Summary
Rexは、rsyncによるリモート転送で未知のSSHホスト鍵を受け入れてしまう脆弱性があります。攻撃者が接続を横取りすると、パスワード認証の場合は接続パスワードが送られ、アップロードやダウンロードの内容も攻撃者に渡るおそれがあります。影響するのは1.16.1までのバージョンで、CVSSは9.1です。修正版の情報は確認できていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Rexは、rsyncによるリモート転送で未知のSSHホスト鍵を受け入れてしまう脆弱性があります。攻撃者が接続を横取りすると、パスワード認証の場合は接続パスワードが送られ、アップロードやダウンロードの内容も攻撃者に渡るおそれがあります。影響するのは1.16.1までのバージョンで、CVSSは9.1です。修正版の情報は確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANRex |
≤ 1.16.1→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-94140 rex No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-94140 rex No fixed version in this record
Original description The description as published by the source.
Rex versions through 1.16.1 for Perl accept an unknown SSH host key for remote rsync transfers because sync hardcodes StrictHostKeyChecking=no.
Every remote branch of sync builds its ssh command with that option, for password authentication, for private-key authentication and for the fallback. The ssh options a caller sets through set_openssh_opt reach the OpenSSH transport but not this command, so there is no configuration that restores host key checking for the transfer.
An attacker who can redirect the connection before the real host key is known presents their own and the transfer proceeds: under password authentication sync sends the connection password to that server, an upload writes the selected local files to it, and a download writes what it returns to the local destination.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web metacpan.org
- web github.com
- web openwall.com
- web cpan.org