Netatalkのpapクライアントに脆弱性、悪意あるプリンターでスタックを壊される
Summary
Netatalkのpapクライアントには、プリンターが返すステータス長の扱いに起因するスタックバッファオーバーフローの脆弱性があります。影響を受けるのは4.0.0以降4.6.1より前のNetatalkで、4.6.1で修正されています。悪意のあるプリンターにpapを使うと被害を受けるおそれがあるため、4.6.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.
Netatalkのpapクライアントには、プリンターが返すステータス長の扱いに起因するスタックバッファオーバーフローの脆弱性があります。影響を受けるのは4.0.0以降4.6.1より前のNetatalkで、4.6.1で修正されています。悪意のあるプリンターにpapを使うと被害を受けるおそれがあるため、4.6.1への更新を急いでください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Netatalknetatalk |
≥ 4.0.0, < 4.6.1→ 4.6.1 |
4.6.1 |
Original description The description as published by the source.
Netatalk 4.0.0 before 4.6.1 contains an out-of-bounds write vulnerability in the pap client (bin/pap/pap.c), which uses the printer-supplied status length byte as a signed char in memcpy() into a 1024-byte stack buffer without validating it. A malicious or compromised PAP printer can return a status response with a length byte of 0x80 or higher, which converts to a huge copy length and overflows the stack when a user runs pap against that printer.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com