illumos NFSサーバーのカーネル書き換え脆弱性、修正版あり
Summary
illumosのNFSサーバーに、認証なしでカーネルのメモリを書き換えられる脆弱性が公表されました。NFSサーバーを動かすillumos系OSの運用者は修正版へ更新し、更新までは接続元を絞ってください。
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.
illumosのNFSサーバーに、認証なしでカーネルのメモリを書き換えられる脆弱性が公表されました。NFSサーバーを動かすillumos系OSの運用者は修正版へ更新し、更新までは接続元を絞ってください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| illumosillumos-gate |
≥ 27242a7c712b654e22134a70356231efc69c8202, < c440d1a5c98147c55bf16e3d58b3aee618aa16d7→ c440d1a5c98147c55bf16e3d58b3aee618aa16d7 |
c440d1a5c98147c55bf16e3d58b3aee618aa16d7 |
| OmniOSOmniOS |
< r151054→ r151054 ≥ r151054, < r151054ce→ r151054ce ≥ r151056, < r151058→ r151058 ≥ r151058, < r151058ae→ r151058ae ≥ r151060, < r151060e→ r151060e |
r151054 r151054ce r151058 r151058ae r151060e |
Original description The description as published by the source.
An out-of-bounds write in the illumos NFS server allows a remote attacker to corrupt kernel memory. xdr_inline_decode_nfs_fh3() in usr/src/uts/common/fs/nfs/nfs3_xdr.c checks the lengths of the two variable-length fields of an NFSv3 file handle against the total size of the handle. It does not check them against the 26-byte (NFS_FH3MAXDATA) arrays that they are copied into, so a crafted file handle overflows the decoded handle by up to 16 bytes. The arguments of requests such as LOOKUP are a file handle followed by a name. For these requests, the overflow overwrites the pointer to the buffer that receives the name. The name supplied in the same request is then copied to an address chosen by the attacker. Arguments are decoded before the request is authenticated or matched against an export. A remote, unauthenticated attacker who can send requests to the NFS server can therefore write chosen data to a chosen kernel address. This may lead to arbitrary code execution in the kernel. Where the NFS server runs in a non-global zone, the impact extends beyond that zone to the entire system. The NFSv4 file handle decoder, xdr_inline_decode_nfs_fh4(), lacks the same check. NFSv4 is much less affected, because its file handle is allocated separately and the overflow can only corrupt nearby kernel heap memory. The flaw has existed since 2006 (illumos-gate commit 27242a7c), and affects any illumos distribution prior to illumos-gate commit c440d1a5.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- report illumos.org
- web illumos.topicbox.com
- web github.com
- web illumos.org